Hi Fridrich, Thanks a lot for sharing your work. FYI in Debian we opted for bumping the source/target level directly at the Ant [1] and Maven [2] level instead of patching the packages individually. So far we still have ~140 packages to fix [3] before switching the default JRE to OpenJDK 9.
Emmanuel Bourg [1] https://sources.debian.net/src/ant/1.9.9-4/debian/patches/0013-auto-adjust-target.patch [2] https://sources.debian.net/src/plexus-compiler/2.8.2-2/debian/patches/auto-adjust-language-level.patch [3] https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=default-java9;users=debian-java@lists.debian.org Le 12/10/2017 à 10:39, Matthias Klose a écrit : > Fyi, > > -------- Forwarded Message -------- > Subject: A lot of packages fixed to build with jdk9 > Date: Thu, 12 Oct 2017 08:42:29 +0200 > From: Fridrich Strba <fridrich.st...@suse.com> > To: IcedTea <distro-pkg-...@openjdk.java.net> > > Hello, good people, > > In openSUSE Tumbleweed, our rolling distribution, we switched to > OpenJDK9 as a default Java since a week before the official OpenJDK9 > release. I spent a considerable time going over different Java packages > to make sure they build with OpenJDK9. The big chunk of the work is to > be found here: > > https://build.opensuse.org/project/show/Java:packages > > Some are really easy, just to bump the source and target levels, but > some are result of reading thoroughly the code and understanding > different problems. > > So, if you are a distro packager and have to port packages to Java 9, > before you waste you life, check there for eventual patches. They are > all contributed under the license of the underlying project. > > Just a heads-up > > Cheers > > Fridrich