RFR: 7903020: Command line error: Incorrect output filename - can't write

Alexandre Iline shurailine at openjdk.java.net
Mon Aug 30 02:27:35 UTC 2021


On Mon, 30 Aug 2021 02:16:50 GMT, Alexandre Iline <shurailine at openjdk.org> wrote:

>> This is the fix for https://bugs.openjdk.java.net/browse/CODETOOLS-7903020
>> The fix extends checking of files as existing as non-existing
>
> src/classes/com/sun/tdk/jcov/Merger.java line 996:
> 
>> 994:         if (opts.isSet(DSC_OUTPUT_TEST_LIST)) {
>> 995:             outTestList = opts.getValue(DSC_OUTPUT_TEST_LIST);
>> 996:             Utils.checkFileNotNull(outTestList, "output testlist filename",
> 
> If this is an _output_ test list (like I assume for merging with test scales, does it have to exist)?

I now see that you have changed the semantics of FILE_CANWRITE. This is probably OK then.

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

PR: https://git.openjdk.java.net/jcov/pull/18


More information about the jcov-dev mailing list