-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning due to supported source version 'RELEASE_7' from annotation processor #1653
Warning due to supported source version 'RELEASE_7' from annotation processor #1653
Comments
Java 7 has been EOL since April 2015!! Surely this needs updating to Java 8 ASAP given that the latest release was done in May 2017 (version 1.1.0) |
If you’re currently running Java apps on-premise or with other JDKs, consider moving it to Zulu on Azure for continued support and maintenance. For more info: |
Hi @jvano , As you recommended, I moved to the Zulu JDK. However I already have the warning, with both JDK 8 and 11. Thanks! |
@selvasingh, can you help us with this case with Zulu? It is in the context of the Azure SDK for Java |
@jacqueslorentz do you mean you meet the warning in Zulu JDK 8? Or you meet it in Oracle / Open JDK 8? |
I use the Zulu JDK 8 and 11, for two distinct projects and I have this warning with both, with this maven build configuration in my ...
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<release>${java.version}</release>
<showWarnings>true</showWarnings>
<!--<failOnWarning>true</failOnWarning> CANNOT COMPILE WITH IT-->
</configuration>
</plugin>
...
</plugins>
</pluginManagement>
</build> We need to use the Zulu JDK to match with Azure Pipelines environnement. |
Same warning here ! |
The azure-annotations hard code to support RELEASE_7, will fix later (many dependency need to upgrade). |
fix in 1.29.0 |
@ChenTanyi |
@martin-mfg This change is included in the |
I get this warning during compilation while using the SDK with JDK 1.8:
Supported source version 'RELEASE_7' from annotation processor 'com.microsoft.azure.management.apigeneration.LangDefinitionProcessor' less than -source '1.8'.
In the readme, prerequisites include "A Java Developer Kit (JDK), v 1.7 or later".
Is there a reason for having this restriction in place? If not can it be removed?
The text was updated successfully, but these errors were encountered: