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

jdk/modules/scenarios/overlappingpackages/OverlappingPackagesTest.java - testOverlapWithBaseModule tests the wrong thing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11, 13
    • Fix Version/s: 13
    • Component/s: core-libs
    • Labels:

      Description

      The method testOverlapWithBaseModule in jdk/modules/scenarios/overlappingpackages/OverlappingPackagesTest.java obviously doesn't test what it is supposed to test. The wrong command line parameter "-add-modules" is passed to a child process, instead of "--add-modules". A nonzero exit value is asserted but it should not happen due to the bad command line parameter as it does right now. It rather should fail due to an incorrect package overlap.

        Attachments

          Activity

            People

            • Assignee:
              clanger Christoph Langer
              Reporter:
              clanger Christoph Langer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: