On Mon, 17 Oct 2022 22:18:01 GMT, Lance Andersen <lan...@openjdk.org> wrote:

>> Issue: Formatter unit tests are launched via basic.sh
>> 
>> Fix: Replace basic.sh with a Java test launcher
>> 
>> Note: Java.internal.math was included in the original configuration of 
>> Basic, but I removed it as it was not used within the Basic unit tests 
>> 
>> 
>> Original output on success
>> <img 
>> src="https://user-images.githubusercontent.com/67398801/195936541-bc90db50-8d03-47be-9c4f-95176b19a6a7.png";
>>  width="350" height="350">
>> 
>> 
>> New output on success
>> <img 
>> src="https://user-images.githubusercontent.com/67398801/195936558-f85f4d48-dae2-4c38-aa50-46ef47db3d89.png";
>>  width="350" height="450">
>
> test/jdk/java/util/Formatter/Basic.java line 93:
> 
>> 91:                                        + fail + " failure(s), first", 
>> first);
>> 92:         else
>> 93:             System.out.println("all " + (fail + pass) + " tests passed");
> 
> Perhaps use System.out.printf vs println and "fail" should not be needed as 
> all tests passed

Thank you Lance, will take a look at this and the rest of the comments

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

PR: https://git.openjdk.org/jdk/pull/10715

Reply via email to