javac is looking for operator symbols at the wrong place

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: