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

test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously passing

XMLWordPrintable

        The test TestCharsetMapping.java looks up the charsets to test by looking for the 'charsets' file in a directory relative to test sources. That relative path to the directory containing that file is wrong and, thus, the test passes with this output (and no (!) tests are run):

        ----------System.out:(1/34)----------
        Nothing done, not in a jdk repo:

        When the path is actually fixed, the test fails!

              naoto Naoto Sato
              sgehwolf Severin Gehwolf
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: