langtools/tier1 failures with Sequenced Collections

XMLWordPrintable

    • Type: Bug
    • Resolution: Other
    • Priority: P3
    • 20
    • Affects Version/s: 20
    • Component/s: tools
    • None

      The following langtools javac tests fail when run with the Sequenced Collections (JEP 431) draft implementation:

      1. tools/javac/api/TestJavacTaskScanner.java

      It looks like this test extracts a bunch of fine-grained information from the `List<String>` type. Since the List interface is modified by this JEP, the test fails.

      2. tools/javac/processing/model/type/BoundsTest.java

      This test checks proper bounds calculations for the type hierarchy. Since this JEP is modifying the collections type hierarchy -- in particular, SequencedCollection is retrofitted between Collection and List -- it affects the results of the test.

      If this can be fixed soon, great. If not, I can problem-list these tests as part of the JEP 431 integration (still a couple weeks away at this writing). Or we can work out an alternative. Please advise.

      For an example of the failures, see this GitHub job:

      https://github.com/stuart-marks/jdk/actions/runs/3380061747/jobs/5613251565

      and search for "TEST RESULT: Failed."

            Assignee:
            Srikanth Adayapalam (Inactive)
            Reporter:
            Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: