[JDK 9] hs-rt forest fails to build? (original) (raw)

Erik Joelsson erik.joelsson at oracle.com
Wed Dec 9 16:35:30 UTC 2015


I'm not able to reproduce with either OracleJDK 8 or 8u66.

/Erik

On 2015-12-09 13:33, Severin Gehwolf wrote:

Hi,

On Wed, 2015-12-09 at 12:15 +0100, Severin Gehwolf wrote: 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-x8664-normal-server-release/jdk/modules/java.logging/the.java.loggingbatch' failed make/Main.gmk:150: recipe for target 'java.logging-java' failed With the above root-cause. I'll try with a fresh clone... Same failure with fresh clone :( Here is how I configure and invoke make: _bash configure _ _--with-boot-jdk="$JDKTOBUILDWITH" _ _--with-debug-level="release" _ _--disable-zip-debug-info _ _--enable-unlimited-crypto _ _--with-stdc++lib=dynamic _ _--disable-warnings-as-errors _ --with-num-cores=8 _make _ _DEBUGBINARIES=true _ _JAVACFLAGS=-g _ _STRIPPOLICY=nostrip _ _STRIP="" _ _DISABLEINTREEEC=true _ _ALTOBJCOPY=none _ _LOG=debug _ images Thanks, Severin $ 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 getsource.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/OpenJDK9hsrtZero/191/console /Mikael Thanks, Severin



More information about the build-dev mailing list