RFR: JDK-8215239: Make deletes images/jdk/bin/java if something goes wrong

David Holmes david.holmes at oracle.com
Wed Dec 12 00:36:18 UTC 2018


+100 :)

It gets tedious trying to debug hotspot by seeing how jlink crashes 
during the build :)

Thanks,
David

On 12/12/2018 10:01 am, Erik Joelsson wrote:
> If something goes wrong in the recipe for creating the jdk image, make 
> will automatically delete the target of the recipe, which happens to be 
> bin/java in the image. This is unfortunate, because that file is rather 
> useful when troubleshooting what went wrong.
> 
> I propose to fix this by changing the target to the release file in the 
> root of the image instead.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8215239
> 
> Webrev: http://cr.openjdk.java.net/~erikj/8215239/webrev.01/
> 
> /Erik
> 



More information about the build-dev mailing list