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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: