langtools/src/share/classes/com/sun/tools/javac/code/Source.java
changeset 3895 3b3c2a1e5e8a
parent 3765 9548183897cb
child 4142 bd950c8f4fb3
--- a/langtools/src/share/classes/com/sun/tools/javac/code/Source.java	Tue Sep 15 12:20:55 2009 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/code/Source.java	Tue Sep 15 18:36:21 2009 -0700
@@ -159,6 +159,12 @@
     public boolean allowTypeAnnotations() {
         return compareTo(JDK1_7) >= 0;
     }
+    public boolean allowBinaryLiterals() {
+        return compareTo(JDK1_7) >= 0;
+    }
+    public boolean allowUnderscoresInLiterals() {
+        return compareTo(JDK1_7) >= 0;
+    }
     public static SourceVersion toSourceVersion(Source source) {
         switch(source) {
         case JDK1_2: