RFR: 8313854: Some tests in serviceability area fail on localized Windows platform [v2]

Kimura Yukihiro duke at openjdk.org
Tue Aug 8 11:30:32 UTC 2023


On Tue, 8 Aug 2023 09:52:53 GMT, Kimura Yukihiro <duke at openjdk.org> wrote:

>> test/jdk/sun/tools/jhsdb/JShellHeapDumpTest.java line 153:
>> 
>>> 151:         long startTime = System.currentTimeMillis();
>>> 152:         try {
>>> 153:             ProcessBuilder pb = new ProcessBuilder(JDKToolFinder.getTestJDKTool("jshell"), "-J-Duser.language=en", "-J-Duser.country=US");
>> 
>> I just did a commit that changes this code. You'll need to rework your fix. Also, double check to make sure your changes are still necessary. I think they are, but it would be good to check first.
>
> Hello Chris,
> Thank you for your review.
> 
> I understood that 8290497 has a similar fix, as you said.
> JShellHeapDumpTest has not fixed yet.
> The test always expects "Welcome to JShell" in English as jshell command message, but jshell prints localized message on the localized Windows platform.
> 
> I'm sorry, I didn't understand what rework I should do.
> Could you give me advice?
> 
> I fixed the copyright year.
> 
> Thanks,
> Kimura Yukihiro

Hello Chris,
I realized that my fix conflicted to another fix.

Thanks,
Kimura Yukihiro

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15172#discussion_r1286983613


More information about the serviceability-dev mailing list