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

jtreg test fails: test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java

    XMLWordPrintable

Details

    • b108
    • generic
    • generic
    • Not verified

    Description

      <<< This seems to be a windows only failure >>>

      The problem is that this chunk of lines:
      > check supertype: InvalidSource.TestClassMissingClassA -- !:empty clss A!
      > check supertype: InvalidSource.TestClassMissingClassAB -- !:empty clss (pkg A).B!
      > check supertype: InvalidSource.TestClassMissingClass_juA -- !:empty clss (pkg java.util).A!
      > check supertype: InvalidSource.TestClassTMissingClassAT -- !:empty clss A!<tvar T>
      > check interfaces: InvalidSource.TestClassMissingIntfA -- !:empty intf A!
      > check interfaces: InvalidSource.TestClassMissingIntfAB -- !:empty intf (pkg A).B!
      > check interfaces: InvalidSource.TestClassMissingIntfAOK -- !:empty intf A!, intf OK
      > check interfaces: InvalidSource.TestClassOKMissingIntfA -- intf OK, !:empty intf A!
      > check interfaces: InvalidSource.TestClassMissingIntfA_B -- !:empty intf A!, !:empty intf B!
      > check interfaces: InvalidSource.TestIntfMissingIntfA -- !:empty intf A!
      > check interfaces: InvalidSource.TestIntfMissingIntfAOK -- !:empty intf A!, intf OK
      > check interfaces: InvalidSource.TestIntfOKMissingIntfA -- intf OK, !:empty intf A!
      > check interfaces: InvalidSource.TestIntfMissingIntfAB -- !:empty intf A!, !:empty intf B!
      > check interfaces: InvalidSource.TestClassTMissingIntfAT -- !:empty intf A!<tvar T>
      > check interfaces: InvalidSource.TestClassTMissingIntfAT_B -- !:empty intf A!<tvar T>, !:empty intf B!
      > check interfaces: InvalidSource.TestIntfTMissingIntfAT -- !:empty intf A!<tvar T>
      > check interfaces: InvalidSource.TestIntfTMissingIntfAT_B -- !:empty intf A!<tvar T>, !:empty intf B!
      > check interfaces: InvalidSource.TestClassListMissingX -- intf (pkg java.util).List<!:empty clss X!>

      should be at the end of the output according to the .ref file, but my test run outputs them
      just before the
      > Round 2:
      line. IE, the ref file expects these lines at the end of Round 2, but the test outputs them at the end of Round 1.

      I moved those lines in the .ref file to just before the Round 2: line and then the test passed.

      The test is
         test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java
      and the failure mode is
      test result: Failed. Output does not match reference file: TestMissingElement.ref, line 5

      Attachments

        Activity

          People

            jjg Jonathan Gibbons
            jjh James Holmlund (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: