--- a/jdk/test/tools/pack200/PackageVersionTest.java Fri Jul 11 14:53:55 2014 +0100
+++ b/jdk/test/tools/pack200/PackageVersionTest.java Fri Jul 11 14:06:42 2014 -0700
@@ -59,13 +59,10 @@
}
File out = new File("test.pack");
- createClassFile("Test5");
createClassFile("Test6");
createClassFile("Test7");
verify6991164();
- verifyPack("Test5.class", JAVA5_PACKAGE_MAJOR_VERSION,
- JAVA5_PACKAGE_MINOR_VERSION);
verifyPack("Test6.class", JAVA6_PACKAGE_MAJOR_VERSION,
JAVA6_PACKAGE_MINOR_VERSION);
@@ -98,7 +95,7 @@
String target = name.substring(name.length() - 1);
String javacCmds[] = {
"-source",
- "5",
+ "6",
"-target",
name.substring(name.length() - 1),
name + ".java"