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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • 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

            acobbs Archie Cobbs
            jlahoda Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: