Ceylon and JDK9

90 views
Skip to first unread message

Russel Winder

unread,
Oct 2, 2017, 6:37:09 AM10/2/17
to Ceylon Users
For a larf, I switched my working factorial code from Zulu-8 to Zulu-9 based
execution on Debian Sid. It all works on Zulu-8 so no problem with the Ceylon
and the Specks stuff. However on Zulu-9:

|> ceylon compile
Note: Created module uk.org.winder.mathstest/0.0.0
Note: Created module uk.org.winder.maths/0.0.0
515 anglides:~/Progs/Applications/Factorial/Ceylon (git:master)
|> ceylon test uk.org.winder.mathstest
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.modules.ClassLoaderLocalLoader$1 (file:/home/users/russel/.sdkman/candidates/ceylon/1.3.3/repo/org/jboss/modules/1.4.4.Final/org.jboss.modules-1.4.4.Final.jar) to method java.lang.ClassLoader.getPackage(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.jboss.modules.ClassLoaderLocalLoader$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
org.jboss.modules.ModuleNotFoundException: javax.xml:7
at org.jboss.modules.Module.addExportedPaths(Module.java:1193)
at org.jboss.modules.Module.addExportedPaths(Module.java:1227)
at org.jboss.modules.Module.addPaths(Module.java:1071)
at org.jboss.modules.Module.link(Module.java:1398)
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1426)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:238)
at org.jboss.modules.Main.main(Main.java:384)
at ceylon.modules.bootstrap.CeylonRunTool.run(CeylonRunTool.java:367)
at ceylon.modules.bootstrap.CeylonTestTool.run(CeylonTestTool.java:127)
at com.redhat.ceylon.common.tools.CeylonTool.run(CeylonTool.java:547)
at com.redhat.ceylon.common.tools.CeylonTool.execute(CeylonTool.java:423)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.redhat.ceylon.launcher.Launcher.runInJava7Checked(Launcher.java:108)
at com.redhat.ceylon.launcher.Launcher.run(Launcher.java:38)
at com.redhat.ceylon.launcher.Launcher.run(Launcher.java:31)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.redhat.ceylon.launcher.Bootstrap.runVersion(Bootstrap.java:162)
at com.redhat.ceylon.launcher.Bootstrap.runInternal(Bootstrap.java:117)
at com.redhat.ceylon.launcher.Bootstrap.run(Bootstrap.java:93)
at com.redhat.ceylon.launcher.Bootstrap.main(Bootstrap.java:85)


--
Russel.
==========================================
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Road m: +44 7770 465 077
London SW11 1EN, UK w: www.russel.org.uk
signature.asc

Stephane Epardaud

unread,
Oct 2, 2017, 6:40:04 AM10/2/17
to ceylon...@googlegroups.com
Yeah, I think it's a dupe of https://github.com/ceylon/ceylon/issues/7263

We did lots of testing on JDK9, so most of it works, but apparently we forgot to check runtime issues with JDK9 modules that changed name from the JDK7 version of jigsaw to the actual JDK9 release of jigsaw.

--
You received this message because you are subscribed to the Google Groups "ceylon-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-users+unsubscribe@googlegroups.com.
To post to this group, send email to ceylon...@googlegroups.com.
Visit this group at https://groups.google.com/group/ceylon-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/1506940627.4315.47.camel%40winder.org.uk.
For more options, visit https://groups.google.com/d/optout.



--
Stéphane Épardaud

Russel Winder

unread,
Oct 2, 2017, 7:18:57 AM10/2/17
to ceylon...@googlegroups.com
On Mon, 2017-10-02 at 12:40 +0200, Stephane Epardaud wrote:
> Yeah, I think it's a dupe of https://github.com/ceylon/ceylon/issues/7263
>
> We did lots of testing on JDK9, so most of it works, but apparently we
> forgot to check runtime issues with JDK9 modules that changed name from the
> JDK7 version of jigsaw to the actual JDK9 release of jigsaw.

OK, thanks for the quick response. There is always going to be something that
breaks in a change such as this which is very revolutionary and definite
breaking with no backward compatibility at all. I'm all for allowing big
breaking changes, so must therefore be happy to wait for things to catch up.
:-)

I get the feeling there were actually a lot of last minute changes as well.
signature.asc
Reply all
Reply to author
Forward
0 new messages