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

[lworld] tools/javac/valhalla/lworld-values/EnhancedForLoopTest.java fails after merge

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: tools
    • Labels:

      Description

      test/langtools/tools/javac/valhalla/lworld-values/EnhancedForLoopTest.java:91: error: for-each not applicable to expression type
              for (var s : foo) {
              ^
        required: array or java.lang.Iterable
        found: Foo<String>
      1 error
      result: Failed. Compilation failed: Compilation failed

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sadayapalam Srikanth Adayapalam
              Reporter:
              dsimms David Simms
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: