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
Support Java 14 #3310
Support Java 14 #3310
Conversation
* Provide changes to avoid deprecated Java API and have a compatibility back to Java 8 * Change affected test classes to JUnit 5 whenever it is possible * Ignore/Disable some TCP/IP tests which don't pass on Java 14
I need your help with TCP/IP. It looks like there are some changes in the UDP multicast with their Thanks |
…a 14 - change the badClient cert to a badServer cert to force an error on the client side
@@ -518,7 +518,7 @@ public void testNioClientAndServerSSL() throws Exception { | |||
} | |||
|
|||
@Test | |||
@EnabledOnJre(JRE.JAVA_8) | |||
@EnabledOnJre(JRE.JAVA_8) // Need to wait for write complete on Java 14 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@garyrussell , what does it mean?
Is there a way to do something similar what you have with that if (System.getProperty("java.version").startsWith("1.8")) {
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed it in the next commit.
Gary, I'm OK to merge this, but may be you have some idea about that deprecated |
Right; I need to test in a Linux VM. Please open an issue and assign to me so I don't forget about it. |
Should we add a build plan? |
Sure! On it... |
and have a compatibility back to Java 8