MultiCatchTest.java is @ignored

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 8
    • Affects Version/s: 8
    • Component/s: tools
    • generic
    • generic
    • Verified

      Test
         tools/javac/annotations/typeAnnotations/newlocations/MultiCatch.java

      contains
       * @ignore // syntax not sure yet.

      When the test is run via -ignore:run, it fails like this:

      ----------System.out:(11/491)----------
      Tests for MultiCatch
      FAILED: multiCatch1
          ComparisionException: Unexpected position for annotation : TB
        Expected: [EXCEPTION_PARAMETER, exception_index = 1, pos = -1]
        Found: [EXCEPTION_PARAMETER, exception_index = 0, pos = -1]
      FAILED: multiCatch2
          ComparisionException: Unexpected position for annotation : TB
        Expected: [EXCEPTION_PARAMETER, exception_index = 1, pos = -1]
        Found: [EXCEPTION_PARAMETER, exception_index = 0, pos = -1]

      2 total tests: 0 PASSED, 2 FAILED

            Assignee:
            Steve Sides (Inactive)
            Reporter:
            James Holmlund (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: