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

[lworld] tools/javac/ObjectEarlyContext/T8361481.java bogus 'before supertype constructor' error

XMLWordPrintable

      After merging jdk-26+6:

      test/langtools/tools/javac/ObjectEarlyContext/x/java/lang/Object.java:28: error: cannot reference foo() before supertype constructor has been called
              foo(); // valid, not in early constructor context
              ^
      1 error

            vromero Vicente Arturo Romero Zaldivar
            dsimms David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: