jdk/src/share/classes/java/util/Currency.java
changeset 10419 12c063b39232
parent 9035 1255eb81cc2f
child 11138 9121a1a92512
--- a/jdk/src/share/classes/java/util/Currency.java	Tue Aug 30 14:41:12 2011 +0100
+++ b/jdk/src/share/classes/java/util/Currency.java	Tue Aug 30 11:53:11 2011 -0700
@@ -221,9 +221,7 @@
                     otherCurrenciesNumericCode = readIntArray(dis, ocCount);
                     dis.close();
                 } catch (IOException e) {
-                    InternalError ie = new InternalError();
-                    ie.initCause(e);
-                    throw ie;
+                    throw new InternalError(e);
                 }
 
                 // look for the properties file for overrides