Ant-based langtools build fails after JDK-8015831 Add lint check for calling overridable methods from a constructor

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: None
    • Component/s: tools
    • None
    • b15

      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

            Assignee:
            Archie Cobbs
            Reporter:
            Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: