langtools/test/tools/javap/output/Tester.java
changeset 22444 c79ee1e6742f
parent 17544 80db48a54a9f
--- a/langtools/test/tools/javap/output/Tester.java	Wed Jan 15 13:49:57 2014 +0100
+++ b/langtools/test/tools/javap/output/Tester.java	Thu Jan 16 18:00:25 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -271,7 +271,7 @@
      */
     protected void compileTestFile() {
         String path = javaFile.getPath();
-        String params[] =  { "-source", "1.8", "-g", path };
+        String params[] =  {"-g", path };
         int rc = com.sun.tools.javac.Main.compile(params);
         if (rc != 0)
             throw new Error("compilation failed. rc=" + rc);