[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#751126: japi-compliance-checker: Incompatibility with Java 8 (internal error - can't read method signature)

Source: japi-compliance-checker
Version: 1.3.6-1
Severity: important
User: debian-java@lists.debian.org
Usertags: openjdk-8-transition

japi-compliance-checker doesn't work when OpenJDK 8 is used by default:

  ebourg@icare:~$ japi-compliance-checker -test
  verifying detectable Java library changes
  reading classes 1.0 ...
  ERROR: internal error - can't read method signature
  ERROR: test result: FAILED (0 breaks found)

Switching to Java 7 solves this issue:

  ebourg@icare:~$ sudo update-java-alternatives --set java-1.7.0-openjdk-amd64
  update-alternatives: error: no alternatives for iceweasel-javaplugin.so
  update-java-alternatives: plugin alternative does not exist: /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so

  ebourg@icare:~$ japi-compliance-checker -test
  Using Java 1.7.0_55
  verifying detectable Java library changes
  Using Java 1.7.0_55
  reading classes 1.0 ...
  reading classes 2.0 ...
  comparing classes ...
  creating compatibility report ...
  result: INCOMPATIBLE (Binary: 35.7%, Source: 42.2%)
  total "Binary" compatibility problems: 55, warnings: 36
  total "Source" compatibility problems: 59, warnings: 3
  see detailed report:
  test result: SUCCESS (114 breaks found)

Reply to: