RFR: 8237967: No proper error message when --runtime-image points to non-existent path

Alexander Matveev alexander.matveev at oracle.com
Wed Feb 5 21:24:52 UTC 2020


Hi Andy,

Fix looks good, but I think we should do same for --resource-dir. I do 
not think that non-existing directory should be same as empty. User 
might misspell directory name and it will not be clear for user why we 
not using information from --resource-dir.

Thanks,
Alexander

On 2/5/2020 10:23 AM, Andy Herrick wrote:
> This simple fix [1] to jpackage bug [2] simply adds a proper error 
> message when --runtime-image points to a non-existent directory path.
>
> [1] http://cr.openjdk.java.net/~herrick/8237967/webrev.01/index.html
>
> [2] https://bugs.openjdk.java.net/browse/JDK-8237967
>
> /Andy
>



More information about the core-libs-dev mailing list