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

partialUpdateFooMainClass test in tools/jar/modularJar/Basic.java needs to be re-examined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • tools
    • jar
    • b158

        partialUpdateFooMainClass has the following:

              jar("--create",
                    "--file=" + modularJar.toString(),
                    "--main-class=" + "IAmNotTheEntryPoint",
                    "--no-manifest",
                    "-C", modClasses.toString(), ".") // includes module-info.class
                   .assertSuccess();

        which fails after the JDK-8173393 because the main class cannot be in the unnamed package.

        The test has been temporarily disabled and needs to be re-examined to find a better way to test updating the main class.

              sherman Xueming Shen
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: