mistriggered "error: warnings found and -Werror specified" for java warnings
Erik Joelsson
erik.joelsson at oracle.com
Thu Apr 30 15:28:02 UTC 2020
Hello Ralf,
On 2020-04-29 18:18, Ralf H wrote:
> we don't need jtreg for this to occur:
>
> Compiling 127 files for BUILD_java.compiler.interim
> /home/ralf/build/openjdk-hg/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor14.java:30:
> warning: [preview] RecordComponentElement is an API that is part of a
> preview feature
> import javax.lang.model.element.RecordComponentElement;
> ^
> /home/ralf/build/openjdk-hg/src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor14.java:30:
> warning: [preview] RecordComponentElement is an API that is part of a
> preview feature
> import javax.lang.model.element.RecordComponentElement;
> ^
> error: warnings found and -Werror specified
>
> BOOT_JDK is made from openjdk-14 source of last november.
A JDK 14 from last November is not considered a supported build
environment. As JDK 14 is now released, the expected boot JDK for a JDK
15 build is the released version of 14 (or a later update).
/Erik
> cheers,
>
> -- Ralf
>
More information about the build-dev
mailing list