Is the "skip boot cycle" trick still needed?

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Mon Sep 10 11:43:00 UTC 2012


In the old system, one can set the oddly named SKIP_BOOT_CYCLE to false 
(which, internally, sets the slightly more clearly named 
DO_BOOT_CYCLE=true). This causes the product to build twice, the second 
time using the first build result as the boot jdk.

This has been used, as I understand it, as a "poor mans integration 
test" -- if the build output could perform the feat of compiling the 
JDK, then it can't be that broken.

This kind of behaviour is not implemented in the new build system, and I 
propose that it should not be. The cost for implementing this is that 
all build system for all builds will be more complicated, but the gains 
are more unclear. To me, this is just a test, and it's a bit odd to have 
that as part of the build system. I also believe are now far better 
tests using jtreg, and if they are lacking -- then the tests should be 
improved, not the build system changed.

Is there anyone who would be protesting if the SKIP_BOOT_CYCLE 
functionality would be dropped in the new build system?

/Magnus



More information about the build-dev mailing list