-
Notifications
You must be signed in to change notification settings - Fork 233
helios-cli incompatibilities with Java 9 / 10 #1158
Comments
3 has been reported in dns-java at https://sourceforge.net/p/dnsjava/bugs/58/ , but I have no idea if anyone watches that sourceforge project or maintains it. |
1 and 2 both originate in https://github.com/spotify/ssh-agent-tls |
Noting for posterity that the same warnings/problems apply to Java 10 as well. |
Java 9+ does not allow KeyStore passwords with non-ASCII chars. relates to spotify/helios#1158
Java 9+ does not allow KeyStore passwords with non-ASCII chars. relates to spotify/helios#1158
Just use the time from the Calendar instance as the SN. The com.eaio.uuid.UUID class was throwing `java.lang.NoClassDefFoundError: org/omg/CORBA/portable/IDLEntity errors` on JRE 9+ anyways. Fixes number 2 in spotify/helios#1158
Just use the time from the Calendar instance as the SN. The com.eaio.uuid.UUID class was throwing `java.lang.NoClassDefFoundError: org/omg/CORBA/portable/IDLEntity errors` on JRE 9+ anyways. Fixes number 2 in spotify/helios#1158
Reopening as there are still several warnings printed when using Java 9 or 10 about "Illegal reflective access" which I think we should track. #1213 only fixed one issue.
Illegal reflective access in com.spotify.helios.client.DefaultHttpConnector
The issue from org.xbill.DNS.ResolverConfig is still there:
Neither of these prevent the CLI from working but a) it is a big scary warning message that might confuse people b) in a future Java release these operations will be denied. |
The DefaultHttpConnector warning is coming from helios/helios-client/src/main/java/com/spotify/helios/client/DefaultHttpConnector.java Lines 147 to 171 in a11f2be
I'm unclear why this code is using reflection to set this field when |
Just wanted to add that adding
|
After applying #1245, I still see the following transitive error.
Upgrading dnsjava:dnsjava to 2.1.8 doesn't help. Outstanding bug report here. |
@mattnworb Looks like using that method causes everything to blow up. See failed tests here #1245. |
I am creating this issue to start to catalog some incompatibilities with Java 9's new module system.
~/.helios
directory contains cached certificates, an exception is encountered when loading them and the operation never succeeds.with more logs:
java.lang.NoClassDefFoundError: org/omg/CORBA/portable/IDLEntity
when generating the certificate.--domains
(or-d
) flag to have the helios masters looked up dynamically, a warning is output about "illegal reflective access" (and then the request fails as 2 above). Note that this warning does not prevent the action but currently (in Java 9) just warns about it - in the future it will be denied.The text was updated successfully, but these errors were encountered: