langtools/src/share/classes/com/sun/tools/javac/code/Source.java
changeset 6592 dc56420a69bc
parent 6148 3a8158299c51
child 6721 d92073844278
--- a/langtools/src/share/classes/com/sun/tools/javac/code/Source.java	Tue Sep 07 17:31:54 2010 +0100
+++ b/langtools/src/share/classes/com/sun/tools/javac/code/Source.java	Tue Sep 07 17:32:27 2010 +0100
@@ -171,11 +171,10 @@
     public boolean allowUnderscoresInLiterals() {
         return compareTo(JDK1_7) >= 0;
     }
-    public boolean allowStringsInSwitch() {
+    public boolean allowExoticIdentifiers() {
         return compareTo(JDK1_7) >= 0;
     }
-    // JSR 292: recognize @PolymorphicSignature on java/dyn names
-    public boolean allowPolymorphicSignature() {
+    public boolean allowStringsInSwitch() {
         return compareTo(JDK1_7) >= 0;
     }
     public static SourceVersion toSourceVersion(Source source) {