# HG changeset patch
# Parent  d9a47033bbbaecf0977610656ab35d4326038993
Quickly assembled patch for JVM9 compilation

With this patch, ABCL will compile with "Java(TM) SE Runtime
Environment (build 9-ea+145)" but will not load any systems via ASDF.

With JVM9, the system classloader no longer inherits from
URLClassloader, which breaks the current mechanism for locating
ABCL-CONTRIB.

diff -r d9a47033bbba build.xml
--- a/build.xml	Sat Nov 19 12:34:20 2016 +0000
+++ b/build.xml	Tue Nov 22 09:22:36 2016 +0100
@@ -188,8 +188,8 @@
       <!-- Stock build for Java 1.5 (aka Java 2) container -->
       <javac destdir="${build.classes.dir}"
              debug="true"
-             target="1.5"
-             source="1.5"
+             target="1.6"
+             source="1.6"
              includeantruntime="false"
              failonerror="true">
         <src path="${src.dir}"/>
diff -r d9a47033bbba src/org/armedbear/lisp/abcl-contrib.lisp
--- a/src/org/armedbear/lisp/abcl-contrib.lisp	Sat Nov 19 12:34:20 2016 +0000
+++ b/src/org/armedbear/lisp/abcl-contrib.lisp	Tue Nov 22 09:22:36 2016 +0100
@@ -158,6 +158,7 @@
                       :name (concatenate 'string
                                          "abcl-contrib"
                                          (subseq (pathname-name system-jar) 4)))))))
+   #+nil ; JVM9 classloaders no longer inherit URLClassloader
    (some
     (lambda (u)
       (probe-file (make-pathname
