langtools/test/tools/javac/profiles/ProfileOptionTest.java
changeset 27579 d1a63c99cdd5
parent 27319 030080f03e4f
child 30730 d3ce7619db2c
--- a/langtools/test/tools/javac/profiles/ProfileOptionTest.java	Tue Nov 18 15:25:18 2014 -0800
+++ b/langtools/test/tools/javac/profiles/ProfileOptionTest.java	Wed Dec 03 14:25:46 2014 +0000
@@ -105,14 +105,18 @@
         JavaFileObject fo = new StringJavaFileObject("Test.java", "class Test { }");
         for (Target t: Target.values()) {
             switch (t) {
-                case JDK1_1: case JDK1_2: // no equivalent -source
+                case JDK1_1:
+                case JDK1_2:
+                case JDK1_3:
+                case JDK1_4:
+                case JDK1_5: // not supported
                     continue;
             }
 
             for (Profile p: Profile.values()) {
                 List<String> opts = new ArrayList<>();
                 opts.addAll(Arrays.asList("-source", t.name, "-target", t.name));
-                opts.add("-Xlint:-options"); // dont warn about no -bootclasspath
+                opts.add("-Xlint:-options"); // don't warn about no -bootclasspath
                 if (p != Profile.DEFAULT)
                     opts.addAll(Arrays.asList("-profile", p.name));