Re: It appears that ABCL is not ready for Java 9

Mark Evenson <[email protected]>
Newsgroups gmane.editors.j.devel
Message-ID <[email protected]>
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."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.