7190416: JSR 292: typo in InvokerBytecodeGenerator.getConstantPoolSize
Reviewed-by: jrose
--- a/jdk/src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java Tue Aug 07 14:31:52 2012 -0700
+++ b/jdk/src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java Thu Aug 09 15:03:28 2012 -0700
@@ -230,7 +230,7 @@
// u2 minor_version;
// u2 major_version;
// u2 constant_pool_count;
- return ((classFile[8] << 8) & 0xFF) | ( classFile[9] & 0xFF);
+ return ((classFile[8] & 0xFF) << 8) | (classFile[9] & 0xFF);
}
/**