Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7098755

test/sun/misc/JarIndex/metaInfFilenames/Basic.java should use supported compiler interface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7
    • core-libs
    • b10
    • generic
    • generic
    • Verified

        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.

              chegar Chris Hegarty
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: