Source: jna
Version: 4.4.0
Severity: normal
User: debian-j...@lists.debian.org
Usertags: default-java9

This package fails to build with default-jdk pointing to openjdk-9-jdk.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

Upstream are not going to support building with Java 9, even in their
next release, but intend to support running on it:
https://github.com/java-native-access/jna/issues/856

> The upcoming JNA 4.5.0 should work with Java 9, but is only
> buildable on java 8 and before.

(The issue also discusses some less relevant crashes; which we can
ignore for the purpose of this bug report; sorry!)

JNA is pretty important, I believe Gradle depends on it, plus svnkit and
a couple of other important-looking libraries, so we probably can't RM
it, or leave it broken during a transition.

What's the plan? Change the build-dep to openjdk-8, so that default-jdk
can transition, then package newer versions as they are released?



Build log:

    [javac] 
/build/libjna-java-4.4.0/contrib/platform/src/com/sun/jna/platform/WindowUtils.java:1392:
 error: cannot find symbol
    [javac]                     Object peer = w.getPeer();
    [javac]                                    ^
    [javac]   symbol:   method getPeer()
    [javac]   location: variable w of type Window

Cheers,
Chris.

Reply via email to