RFR: 8266460: java.io tests fail on null stream with upgraded jtreg/TestNG

Brian Burkhalter bpb at openjdk.java.net
Tue May 4 22:46:51 UTC 2021


On Tue, 4 May 2021 22:42:57 GMT, Lance Andersen <lancea at openjdk.org> wrote:

>> test/jdk/java/io/InputStream/NullInputStream.java line 33:
>> 
>>> 31: import java.io.InputStream;
>>> 32: 
>>> 33: import static org.testng.Assert.*;
>> 
>> Would it not be more standard to put the new imports just after this import? Same comment applies in the other files.
>
> That's IntelliJ magic.  I can update if you prefer and can let IntelliJ optimize all of the imports

Ah. I was just thinking of consistency with other tests. Up to you.

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

PR: https://git.openjdk.java.net/jdk/pull/3866


More information about the core-libs-dev mailing list