On 11/22/2016 11:48 AM, Jamil Nimeh wrote:
> A regression test for debug output?  Is that something that we've done
> in the past with other debug fixes?

I thought we had some at one point, but can't find it now. Maybe not worth worrying about.

IIRC, we had a shell script that ran with javax.net.debug=true, then we grep'd the output. Or you could use the test test/lib/testlibrary/jdk/testlibrary/ProcessTools library.

output = ProcessTools.executeTestJava(
        getJavaCommand(cmBasePath, cPath, mName, MAIN,
                getVMArgs(sModuletype, getModuleName(sModuletype,
                                sJarPath, P_PKG), args), args))
        .outputTo(...

Brad

Reply via email to