jdk/src/share/classes/java/lang/invoke/MethodHandleStatics.java
changeset 14230 40cfabf65fc7
parent 14089 0a41b980d62a
parent 14222 58f55d4dde46
child 16100 379f48d34516
--- a/jdk/src/share/classes/java/lang/invoke/MethodHandleStatics.java	Thu Oct 25 09:54:03 2012 -0700
+++ b/jdk/src/share/classes/java/lang/invoke/MethodHandleStatics.java	Thu Oct 25 20:32:10 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
@@ -114,7 +114,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 newInternalError("uncaught exception", ex);
     }
     static Error NYI() {