Re: It appears that ABCL is not ready for Java 9
Gregory Baryza <[email protected]>
| Newsgroups | gmane.editors.j.devel |
|---|---|
| Message-ID | <CA+LUcYBgadoG9YzBf4a6F4XXcXrjjV2wNj2U-f0wzwtYxUe1qA@mail.gmail.com> |
I'm not classloader-competent but I'll see what I can do. Don't anyone wait for me; it may take a while. On Wed, Sep 27, 2017 at 2:26 PM, Alessio Stalla <[email protected]> wrote: > The issue is that in Java 9 the platform classloader is not an > URLClassLoader anymore. It was never specified to be one, but it happened > to be so in all widely used implementations. > > Il 27 set 2017 20:13, "Gregory Baryza" <[email protected]> ha scritto: > >> I will add that the build warns not to use Java 9. It appears it should >> fail right there. >> >> On Wed, Sep 27, 2017 at 2:09 PM, Gregory Baryza <[email protected]> >> wrote: >> >>> I am not a Java 9 expert either. I just installed and switched the value >>> of JAVA_HOME to point to it. I ran ant under Windows 10 in the build >>> directory and sent the output to a log file. That's all I know at the >>> moment. >>> >>> On Wed, Sep 27, 2017 at 1:56 PM, Robert Goldman <[email protected]> >>> wrote: >>> >>>> That's weird, because looking at this http://download.java.net/java/ >>>> jdk9/docs/api/java/net/URLClassLoader.html#getURLs-- ( >>>> http://preview.tinyurl.com/yat6a6oq), it looks like that method is >>>> still supplied in Java 9. >>>> >>>> But I'm not a Java person at all, so I could easily be wrong about this. >>>> >>>> >>>> On 27 Sep 2017, at 12:51, Gregory Baryza wrote: >>>> >>>> I tried compiling it and was presented with the following error: >>>>> .... >>>>> [java] ; Loading >>>>> C:/Downloads/Armed_Bear_Lisp/abcl-src-1.5.0/build/classes/or >>>>> g/armedbear/lisp/abcl-contrib.abcl >>>>> ... >>>>> [java] >>>>> [java] ; Compilation unit finished >>>>> [java] ; The following functions were used but not defined: >>>>> [java] ; SYSTEM::SOURCE >>>>> [java] >>>>> [java] 311.988 seconds real time >>>>> [java] 249904041 cons cells >>>>> [java] JAVA-EXCEPTION: Java exception >>>>> 'java.lang.NoSuchMethodException: No applicable method named getURLs >>>>> found >>>>> in java.lang.ClassLoader or >>>>> jdk.internal.loader.ClassLoaders$AppClassLoader'. >>>>> >>>>> BUILD FAILED >>>>> C:\Downloads\Armed_Bear_Lisp\abcl-src-1.5.0\build.xml:280: The >>>>> following >>>>> error occurred while executing this line: >>>>> C:\Downloads\Armed_Bear_Lisp\abcl-src-1.5.0\build.xml:299: Java >>>>> returned: -1 >>>>> >>>>> Total time: 6 minutes 11 seconds >>>>> >>>>> It compiled successfully under JDK_1_8_0_144. Has anyone else seen >>>>> this? >>>>> >>>> >>> >>