langtools/test/tools/apt/Basics/CheckAptIsRemovedTest.java
changeset 22444 c79ee1e6742f
parent 16304 475504933a2d
child 26100 bb7dd001d190
--- a/langtools/test/tools/apt/Basics/CheckAptIsRemovedTest.java	Wed Jan 15 13:49:57 2014 +0100
+++ b/langtools/test/tools/apt/Basics/CheckAptIsRemovedTest.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
@@ -87,7 +87,7 @@
         Path classpath = Paths.get(testJDK, "lib", "tools.jar");
         ToolBox.JavaToolArgs javacArgs =
                 new ToolBox.JavaToolArgs(ToolBox.Expect.FAIL)
-                .setOptions("-source", "1.5", "-sourcepath", ".",
+                .setOptions("-sourcepath", ".",
                     "-classpath", classpath.toString())
                 .setSources(NullAPFSrc);
         ToolBox.javac(javacArgs);