[JDK 9] hs-rt forest fails to build?
Severin Gehwolf
sgehwolf at redhat.com
Wed Dec 9 11:15:38 UTC 2015
Hi Mikael,
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
>
> http://hg.openjdk.java.net/jdk9/hs-rt/jdk/file/7a67f71d3645/src/java.base/share/classes/java/lang/System.java#l1377
> 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?
>
> http://hg.openjdk.java.net/code-tools/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[1]. Note: The above build failure is
for a regular server JVM. Not sure what's wrong. I keep looking,
thanks!
Cheers,
Severin
[1] http://builder.classpath.org/jenkins/job/OpenJDK9_hs_rt_Zero/191/console
> /Mikael
>
> >
> > Thanks,
> > Severin
> >
>
More information about the hotspot-dev
mailing list