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

jtreg test TargetType36.java contains @ignore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b99
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      jtreg test
        tools/javac/lambda/TargetType36.java
      contains @ignore. When it is run via -ignore:run, it fails like this:
      ----------direct:(7/441)*----------
      D:\\tools\\tl8\\langtools\\test\\tools\\javac\\lambda\\TargetType36.java:41: error: lambda expression not expected here
              SAM s3 = (SAM)(true? (a,b)->a+b : (a,b)->a+b);
                                   ^
      D:\\tools\\tl8\\langtools\\test\\tools\\javac\\lambda\\TargetType36.java:41: error: lambda expression not expected here
              SAM s3 = (SAM)(true? (a,b)->a+b : (a,b)->a+b);
                                                ^
      2 errors
      result: Failed. Compilation failed: Compilation 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: