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

javac is looking for operator symbols at the wrong place

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • tools
    • b129
    • Verified

      compilation of this code:

      public class Test {
          class Base {
              protected int i = 1;
           }

          class Sub extends Base {
              void func() {
                  Sub.super.i += 10;
              }
          }
      }

      produces NPE in the compiler

            vromero Vicente Arturo Romero Zaldivar
            vromero Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: