[JDK 9] hs-rt forest fails to build?
sgehwolf at redhat.com
Wed Dec 9 11:15:38 UTC 2015
On Wed, 2015-12-09 at 11:41 +0100, Mikael Gerdin wrote:
> Hi Severin,
> On 2015-12-09 11:23, Severin Gehwolf wrote:
> > Hi,
> > I'm trying to build an OpenJDK 9, hs-rt tree which fails to build for
> > me with:
> > jdk/src/java.logging/share/classes/sun/util/logging/internal/LoggingProviderImpl.java:33: error: cannot find symbol
> > import java.lang.System.LoggerFinder;
> > ^
> > symbol: class LoggerFinder
> > location: class System
> the LoggerFinder inner class appears to exist on the hg server at least.
I have it in the local copy too, yet I get:
CompileJavaModules.gmk:562: recipe for target 'hs-rt/build/linux-x86_64-normal-server-release/jdk/modules/java.logging/_the.java.logging_batch' failed
make/Main.gmk:150: recipe for target 'java.logging-java' failed
With the above root-cause. I'll try with a fresh clone...
> > $ hg paths
> > default = http://hg.openjdk.java.net/jdk9/hs-rt/
> > Do I need to use a different tree these days? What am I missing?
> No, it should work.
> Are you sure you've updated all the sub-trees?
> Is a helpful hg extension to keep track of things.
> I've noticed that sometimes "bash get_source.sh" does not correctly "hg
> update" the entire forest.
I should have an updated tree, though I usually use:
$ hg pull -u
$ for i in hotspot corba jaxp jaxws jdk langtools nashorn; do pushd $i; hg pull -u; popd; done
I've checked just now and all repos seem to have updated correctly. The
CI builder for Zero seems to agree. Note: The above build failure is
for a regular server JVM. Not sure what's wrong. I keep looking,
> > Thanks,
> > Severin
More information about the hotspot-dev