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

docs, release notes for JDK-8030816

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: docs

      Description

      The following program crashes javac:

      public class Test {
          void m() {
              m1(()-> {
                  new A(){
                      public void m11() {}
                  };
              });

          }

          void m1(Runnable r) {}
      }

      This program compiles correctly if 'A' is a known identifier. We don't expect this code to be very frequent but this crash should be fixed in an early 8uX release.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jgordon Joni Gordon (Inactive)
                Reporter:
                vromero Vicente Arturo Romero Zaldivar
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: