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

MultiCatchTest.java is @ignored

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: