Package: libnative-platform-java Version: 0.3~rc2-1 Severity: important libnative-platform-java (experimental) FTBFS when default-jdk != openjdk with the following error :
---------- 3. ERROR in src/main/java/net/rubygrapefruit/platform/internal/DefaultPosixFile.java (at line 45) public String readLink(File link) throws NativeException { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The method readLink(File) of type DefaultPosixFile must override a superclass method 4. ERROR in src/main/java/net/rubygrapefruit/platform/internal/DefaultPosixFile.java (at line 55) public void symlink(File link, String contents) throws NativeException { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The method symlink(File, String) of type DefaultPosixFile must override a superclass method 5. ERROR in src/main/java/net/rubygrapefruit/platform/internal/DefaultSystemInfo.java (at line 36) public String getKernelName() { ^^^^^^^^^^^^^^^ The method getKernelName() of type DefaultSystemInfo must override a superclass method 6. ERROR in src/main/java/net/rubygrapefruit/platform/internal/DefaultSystemInfo.java (at line 41) public String getKernelVersion() { ^^^^^^^^^^^^^^^^^^ The method getKernelVersion() of type DefaultSystemInfo must override a superclass method 7. ERROR in src/main/java/net/rubygrapefruit/platform/internal/DefaultSystemInfo.java (at line 46) public String getMachineArchitecture() { ^^^^^^^^^^^^^^^^^^^^^^^^ The method getMachineArchitecture() of type DefaultSystemInfo must override a superclass method ---------- Root cause : @Override is limited to base class methods in JDK 5. JDK 6 introduced the ability to apply @Override to interface methods. -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org