--- 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) {