RFR: 7903020: Command line error: Incorrect output filename - can't write
Leonid Kuskov
lkuskov at openjdk.java.net
Mon Aug 30 18:56:33 UTC 2021
On Mon, 30 Aug 2021 02:24:49 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/util/Utils.java line 1192:
>
>> 1190: }
>> 1191: break;
>> 1192: case FILE_CANWRITE:
>
> I assume you have reviewed all usages of FILE_CANWRITE, because by this change you do change the meaning of it.
Yes, right now the CANWRITE is wider that just writing into existing file is allowed. Here it gives write permissions to non-existing file in existing directory that has write permissions
-------------
PR: https://git.openjdk.java.net/jcov/pull/18
More information about the jcov-dev
mailing list