--- a/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandleStatics.java Wed Oct 07 15:29:55 2015 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandleStatics.java Tue Oct 27 09:09:37 2015 +0100
@@ -51,12 +51,8 @@
static final boolean PROFILE_GWT;
static final int CUSTOMIZE_THRESHOLD;
- // This is a temporary property added for improved error reporting; it will
- // be removed once it has served its purpose.
- static final boolean OBSERVE_BMH_SPECIES_CREATION;
-
static {
- final Object[] values = new Object[10];
+ final Object[] values = new Object[9];
AccessController.doPrivileged(new PrivilegedAction<>() {
public Void run() {
values[0] = Boolean.getBoolean("java.lang.invoke.MethodHandle.DEBUG_NAMES");
@@ -68,7 +64,6 @@
values[6] = Integer.getInteger("java.lang.invoke.MethodHandle.PROFILE_LEVEL", 0);
values[7] = Boolean.parseBoolean(System.getProperty("java.lang.invoke.MethodHandle.PROFILE_GWT", "true"));
values[8] = Integer.getInteger("java.lang.invoke.MethodHandle.CUSTOMIZE_THRESHOLD", 127);
- values[9] = Boolean.getBoolean("java.lang.invoke.MethodHandle.OBSERVE_BMH_SPECIES_CREATION");
return null;
}
});
@@ -82,8 +77,6 @@
PROFILE_GWT = (Boolean) values[7];
CUSTOMIZE_THRESHOLD = (Integer) values[8];
- OBSERVE_BMH_SPECIES_CREATION = (Boolean) values[9];
-
if (CUSTOMIZE_THRESHOLD < -1 || CUSTOMIZE_THRESHOLD > 127) {
throw newInternalError("CUSTOMIZE_THRESHOLD should be in [-1...127] range");
}