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

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

    XMLWordPrintable

Details

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

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: