Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903516

work around `this-escape` warnings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jtreg7.4
    • jtreg7.0
    • tools
    • None

      recent versions of javac report the following false positive warning:

      ../src/share/classes/com/sun/javatest/regtest/util/StreamCopier.java:44: warning: [this-escape] possible 'this' escape before subclass is fully initialized
              setDaemon(true);
                       ^
      error: warnings found and -Werror specified

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: