Integrated: JDK-8322062: com/sun/jdi/JdwpAllowTest.java does not performs negative testing with prefix length
Alex Menkov
amenkov at openjdk.org
Mon Dec 18 21:16:42 UTC 2023
On Fri, 15 Dec 2023 19:43:36 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 459957f3
Author: Alex Menkov <amenkov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/459957f30a6e0fe40636dd72faa3f0d86151c94f
Stats: 26 lines in 1 file changed: 8 ins; 0 del; 18 mod
8322062: com/sun/jdi/JdwpAllowTest.java does not performs negative testing with prefix length
Reviewed-by: cjplummer, sspitsyn
-------------
PR: https://git.openjdk.org/jdk/pull/17131
More information about the serviceability-dev
mailing list