RFR: 8252883: AccessDeniedException caused by delayed file deletion on Windows [v4]
Evan Whelan
ewhelan at openjdk.java.net
Wed Feb 17 14:47:05 UTC 2021
On Wed, 17 Feb 2021 12:24:46 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Evan Whelan has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8252883: Remove ClassPathException copyright statement
>
> test/jdk/java/util/logging/FileHandlerAccessTest.java line 45:
>
>> 43: if (!(args.length == 2 || args.length == 1)) {
>> 44: System.out.println("Usage error: expects java FileHandlerAccessTest [process/thread] <count>");
>> 45: return;
>
> Ah - sorry - since this is a test, instead of return you should probably throw an exception - e.g.:
> throw new IllegalArgumentException("Usage error: expects java FileHandlerAccessTest [process/thread] <count>");
Done! Thanks Daniel
> test/jdk/java/util/logging/FileHandlerAccessTest.java line 47:
>
>> 45: return;
>> 46: }
>> 47: else if (args.length == 2) {
>
> nit: `} else if (...) {`
Fixed
-------------
PR: https://git.openjdk.java.net/jdk/pull/2572
More information about the core-libs-dev
mailing list