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
Jitsi and Java 9 #403
Comments
The reflective access stuff can likely be fixed with the |
Hereby I share my two findings. Jitsi (git) does not compile with Java 9.
Is this what you expected? |
Yes. The compile issues are much more difficult to solve, e.g. the nameservice SPI has been dropped; it is thus now impossible to guarantee that DNS lookup don't bypass DNSSEC (if enabled). Not sure without actually trying to compile what else fails. The warnings you quoted are from Apache Felix, the OSGi framework we use. Feel free to open an issue there. Right now my hands are tied with the Smack 4.2 migration (which largely impacts Jitsi Meet). Once that's done, I plan to do other cleanups here. Some help wouldn't hurt... |
I am slightly new to ant java but I believe using new felix http://www.java2s.com/Code/Jar/f/Downloadfelixjar.htm can resolve nameservice problem |
If you're talking about the DNS nameservice, then no. It has been removed from the JRE and no library can replace a service that isn't called from classes of the JRE anymore. If you're talking about the other Felix issue with the boot classloader, this is fixed in our repo and will be fixed in Felix 5.6.10 (which AFAIK isn't released yet). |
The patch for running on JDK9 has been integrated, our custom version is no longer necessary. #403
The patch for running on JDK9 has been integrated, our custom version is no longer necessary. jitsi#403
Java 9 has been released September 22, 2017. While changing the default on my system to test which application would need updating, Jitsi seems to be one of them.
Several warnings and errors are generated on the CLI when starting Jitsi, such as
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/usr/lib/jitsi/lib/felix.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
org.osgi.framework.BundleException: Unable to resolve org.jitsi.bccontrib
org.osgi.framework.BundleException: Unable to resolve slf4j.api
A full list of errors and warnings on my system (Arch Linux and Jitsi 2.11.20170821): https://pastebin.com/v79cnGN6
The text was updated successfully, but these errors were encountered: