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

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

XMLWordPrintable

        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.

              clanger Christoph Langer
              clanger Christoph Langer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: