7017675: typo in JavacParser for allowUnderscoresInLiterals
Reviewed-by: dlsmith
Contributed-by: peter.b.kessler@oracle.com
--- a/langtools/src/share/classes/com/sun/tools/javac/parser/Scanner.java Mon Feb 07 18:10:13 2011 +0000
+++ b/langtools/src/share/classes/com/sun/tools/javac/parser/Scanner.java Mon Feb 07 11:42:12 2011 -0800
@@ -138,7 +138,7 @@
source = fac.source;
allowBinaryLiterals = source.allowBinaryLiterals();
allowHexFloats = source.allowHexFloats();
- allowUnderscoresInLiterals = source.allowBinaryLiterals();
+ allowUnderscoresInLiterals = source.allowUnderscoresInLiterals();
}
private static final boolean hexFloatsWork = hexFloatsWork();