work around `this-escape` warnings

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • jtreg7.4
    • Affects Version/s: jtreg7.0
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: