7017675: typo in JavacParser for allowUnderscoresInLiterals
authorjjg
Mon, 07 Feb 2011 11:42:12 -0800
changeset 8243 33095f58932b
parent 8242 3873b4aaf4a8
child 8244 684e207416ad
child 8419 597dad2c7d22
7017675: typo in JavacParser for allowUnderscoresInLiterals Reviewed-by: dlsmith Contributed-by: peter.b.kessler@oracle.com
langtools/src/share/classes/com/sun/tools/javac/parser/Scanner.java
--- 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();