jdk/src/share/classes/java/lang/invoke/MethodHandleStatics.java
changeset 14222 58f55d4dde46
parent 13423 17843fff200d
child 16084 23e1be1fef19
child 14230 40cfabf65fc7
--- a/jdk/src/share/classes/java/lang/invoke/MethodHandleStatics.java	Wed Sep 19 21:42:21 2012 +0400
+++ b/jdk/src/share/classes/java/lang/invoke/MethodHandleStatics.java	Thu Sep 20 14:02:55 2012 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 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
@@ -108,7 +108,7 @@
     /*non-public*/ static RuntimeException newIllegalArgumentException(String message, Object obj, Object obj2) {
         return new IllegalArgumentException(message(message, obj, obj2));
     }
-    /*non-public*/ static Error uncaughtException(Exception ex) {
+    /*non-public*/ static Error uncaughtException(Throwable ex) {
         throw new InternalError("uncaught exception", ex);
     }
     static Error NYI() {