RFR: 8315406: serviceability/jdwp/AllModulesCommandTest.java fails after JDK-8314834
Daniel D. Daugherty
dcubed at openjdk.org
Wed Aug 30 22:09:01 UTC 2023
On Wed, 30 Aug 2023 21:03:17 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> Test failed because of unexpected output of version string.
> The standard convention for tests is to skip any unexpected output (version string, VM warning, vm logging) and only fail on expected error patterns.
> Fix is tested by running with default options and with '-showversion' vm option.
Marked as reviewed by dcubed (Reviewer).
test/hotspot/jtreg/serviceability/jdwp/DebuggeeLauncher.java line 107:
> 105: @Override
> 106: public void onStringRead(StreamHandler handler, String line) {
> 107: processDebuggeeOutput(line);
So the fix is not to terminate the debuggee and raise an error if
there is output on stderr? The line will simply be processed just
like any line that occurs on stdout?
If my understanding is correct, then I'm good with this fix.
-------------
PR Review: https://git.openjdk.org/jdk/pull/15499#pullrequestreview-1603564936
PR Review Comment: https://git.openjdk.org/jdk/pull/15499#discussion_r1310881134
More information about the serviceability-dev
mailing list