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
Document minimum JDK 8 update version #23563
Comments
This sounds to me like a bug in the compiler that generated inappropriate byte code. Upgrading your JDK is the correct solution. I seem to recall that we used to recommend JDK 1.8.0 update 60 or higher, but I can't find any documentation spelling that out at the moment. Our Upgrading to Version 5.0 wiki page simply states the following without mentioning a specific minimum update version.
The same is true for the reference manual:
@sdeleuze pointed out that we have an outdated recommendation here:
Perhaps we should consider mentioning a recommended minimum update version for use with Spring. |
Team Decision: document that JDK 1.8 update 60 is suggested as the minimum patch release for Java 8 but mention that it is generally recommended to use a recent patch release. |
DeliverablesUpdate the following documentation.
|
When I run
mvn test
with themaven-surefire-plugin
, this happens:mvn clean test -U -X -T 4
the error code slice:
However, when I used the jdk of version jdk1.8.0_211, it didn't happen any more. It probably could be caused by jdk type inference mechanism(which may be fixed in later version) under the surefire class loader.
Just report the issue, btw are there some documents related to it?
The text was updated successfully, but these errors were encountered: