--- a/nashorn/src/jdk/internal/dynalink/beans/MaximallySpecific.java Mon Feb 18 10:36:18 2013 +0100
+++ b/nashorn/src/jdk/internal/dynalink/beans/MaximallySpecific.java Mon Feb 18 16:00:15 2013 +0100
@@ -92,7 +92,6 @@
import jdk.internal.dynalink.linker.LinkerServices;
import jdk.internal.dynalink.support.TypeUtilities;
-
/**
* Utility class that encapsulates the algorithm for choosing the maximally specific methods.
*
@@ -141,6 +140,10 @@
}
case INDETERMINATE: {
// do nothing
+ break;
+ }
+ default: {
+ throw new AssertionError();
}
}
}