It appears that ABCL is not ready for Java 9

Mark Evenson evenson at panix.com
Wed Sep 27 23:42:08 UTC 2017


On 9/27/17 19: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/org/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?
> 


[Java 9][java9] poses a fair number of challenges for ABCL that have not
been addressed.  A fairly trivial patch for compilation is attached to
the ticket, but a much deeper problem lies in the tightening of
restrictions in what one can do with Java interfaces.

In short, I do not see an easy way forward, but perhaps greater minds
can think of a better kludge.

[java9]: http://abcl.org/trac/ticket/423

-- 
"A screaming comes across the sky.  It has happened before, but there
is nothing to compare to it now."



More information about the armedbear-devel mailing list