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

MultiCatchTest.java is @ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • 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

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

              Created:
              Updated:
              Resolved: