Mercurial > hg > icedtea9-forest > jdk
changeset 5571:6438f1277df6
7167362: SecureRandom.init should be converted, amendment to 7084245
Reviewed-by: sherman
author | wetmore |
---|---|
date | Wed, 09 May 2012 16:33:30 -0700 |
parents | 59121a4c71c6 |
children | 5152c832745a |
files | src/share/classes/sun/security/provider/SecureRandom.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/sun/security/provider/SecureRandom.java Wed May 09 11:14:22 2012 -0700 +++ b/src/share/classes/sun/security/provider/SecureRandom.java Wed May 09 16:33:30 2012 -0700 @@ -1,5 +1,5 @@ /* - * 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. * * This code is free software; you can redistribute it and/or modify it @@ -102,7 +102,7 @@ try { digest = MessageDigest.getInstance ("SHA"); } 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) {