-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b10
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8213852 | openjdk7u | Chris Hegarty | P4 | Resolved | Fixed | master |
Since the integration of the fix for CR 7094141, it has come to light that the test should be using the supported compiler interface, com.sun.tools.javac.Main. CR 7094141 was a little rushed so that the failing test would not prevent TL integration into the MASTER repo.
- com.sun.tools.javac.main.Main compiler = new com.sun.tools.javac.main.Main("javac");
- if (compiler.compile(args) != com.sun.tools.javac.main.Main.Result.OK) {
+ com.sun.tools.javac.Main compiler = new com.sun.tools.javac.Main();
+ if (compiler.compile(args) != 0) {
There will be less issues going forward after this change.
- com.sun.tools.javac.main.Main compiler = new com.sun.tools.javac.main.Main("javac");
- if (compiler.compile(args) != com.sun.tools.javac.main.Main.Result.OK) {
+ com.sun.tools.javac.Main compiler = new com.sun.tools.javac.Main();
+ if (compiler.compile(args) != 0) {
There will be less issues going forward after this change.
- backported by
-
JDK-8213852 test/sun/misc/JarIndex/metaInfFilenames/Basic.java should use supported compiler interface
- Resolved