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

docs, release notes for JDK-8030816

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • docs

      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.

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

              Created:
              Updated:
              Resolved: