Description
After:
JDK-8015831 Add lint check for calling overridable methods from a constructor
the and-based langtools-only build fails with:
build-all-classes:
/home/jlahoda/src/jdk/amber/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java:145: warning: [this-escape] possible 'this' escape before subclass is fully initialized
context.put(lintKey, this);
error: warnings found and -Werror specified
1 error
1 warning
the and-based langtools-only build fails with:
build-all-classes:
/home/jlahoda/src/jdk/amber/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java:145: warning: [this-escape] possible 'this' escape before subclass is fully initialized
context.put(lintKey, this);
error: warnings found and -Werror specified
1 error
1 warning