RFR: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v7]

Feilong Jiang fjiang at openjdk.org
Thu May 11 09:30:47 UTC 2023


On Thu, 11 May 2023 09:12:41 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> > === Output from failing command(s) repeated here ===
> > 
> > * For target buildtools_interim_langtools_modules_java.compiler.interim__the.BUILD_java.compiler.interim_batch:
> >   warning: unknown enum constant Feature.STRING_TEMPLATES
> >   warning: unknown enum constant Feature.STRING_TEMPLATES
> >   warning: unknown enum constant Feature.STRING_TEMPLATES
> >   warning: unknown enum constant Feature.STRING_TEMPLATES
> >   error: warnings found and -Werror specified
> 
> This is not a gcc problem, but a javac problem.
> 
> Please check your boot JDK is correct, that you have ran `make clean`, and that mainline JDK on the same machine does not fail with the same error?

Thanks for the troubleshooting advice!
I have tried the same boot JDK with the mainline JDK code base, and it looks good.
P.S. I also tried cross-compiling with this PR, and the building passed without failures.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13844#issuecomment-1543653570


More information about the hotspot-dev mailing list