Source: aspectj
Version: 1.8.9-2
Severity: normal
User: debian-j...@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.

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to