It appears that ABCL is not ready for Java 9

Alessio Stalla alessiostalla at gmail.com
Wed Sep 27 18:26:49 UTC 2017


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" <gabaryza at gmail.com> 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 <gabaryza at gmail.com>
> 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 <rpgoldman at sift.net>
>> 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?
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20170927/2dda6f86/attachment-0001.html>


More information about the armedbear-devel mailing list