提交 f6b86d84 编写于 作者: W wetmore

7167362: SecureRandom.init should be converted, amendment to 7084245

Reviewed-by: sherman
上级 0215fd9d
/* /*
* Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -102,7 +102,7 @@ implements java.io.Serializable { ...@@ -102,7 +102,7 @@ implements java.io.Serializable {
try { try {
digest = MessageDigest.getInstance ("SHA"); digest = MessageDigest.getInstance ("SHA");
} catch (NoSuchAlgorithmException e) { } catch (NoSuchAlgorithmException e) {
throw new InternalError("internal error: SHA-1 not available."); throw new InternalError("internal error: SHA-1 not available.", e);
} }
if (seed != null) { if (seed != null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册