Bug#873213: FTBFS with Java 9

Chris West solo-debianbugs at goeswhere.com
Fri Aug 25 15:10:14 UTC 2017


Source: aspectj
Version: 1.8.9-2
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9
Tags: fixed-upstream

This package fails to build with default-jdk pointing to openjdk-9-jdk.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

Given aspectj is a, uh, complex piece of software, I think the solution
here may be to package 1.9-beta2 (or higher), which the download page
says is the first version to work on Java 9:
https://eclipse.org/aspectj/downloads.php


Build log:

    [javac] /build/aspectj-1.8.9/bcel-builder/src/org/aspectj/apache/bcel/generic/TABLESWITCH.java:62: warning: SWITCH is internal proprietary API and may be removed in a future release
    [javac] import com.sun.org.apache.bcel.internal.generic.SWITCH;

...

packageAndPush:
    [mkdir] Created dir: /build/aspectj-1.8.9/org.eclipse.jdt.core/classes
     [iajc] error at class RefreshJob extends Job {
     [iajc]                          ^
     [iajc] /build/aspectj-1.8.9/org.eclipse.jdt.core/src/org/aspectj/org/eclipse/jdt/internal/core/ExternalFoldersManager.java:432:0::0 The type java.lang.Comparable cannot be resolved. It is indirectly referenced from required .class files


Cheers,
Chris.



More information about the pkg-java-maintainers mailing list