The fix updated JdwpAllowTest to test negative scenarios (debugger tries to attach from not allowed address).
MaskTest ctor incorrectly calculates prefix length for negative tests and test main() calls `positiveTest` instead of `negativeTest` for `prefixLengthBad`. Also fixes test output: LingeredApp logs to System.out and the test logs to System.err, this makes harder log analysis. ------------- Commit messages: - Update JdwpAllowTest.java Changes: https://git.openjdk.org/jdk/pull/17131/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17131&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8322062 Stats: 26 lines in 1 file changed: 8 ins; 0 del; 18 mod Patch: https://git.openjdk.org/jdk/pull/17131.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17131/head:pull/17131 PR: https://git.openjdk.org/jdk/pull/17131