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

Powermock fails to work properly on Java 9.

Upstream say that it will only be supported in Powermock 2, as yet
unreleased. Powermock 2 will also only support Mockito 2, not Mockito 1:
https://github.com/powermock/powermock/issues/783#issuecomment-326992288

Please upgrade Powermock to version 2.

Powermock itself seems to build (no idea why, no tests?), but it breaks
other packages, at least: dnssecjava, who's build log is:

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.262 sec <<< 
FAILURE! - in org.jitsi.dnssec.unbound.rpl.UnboundTests
initializationError(org.jitsi.dnssec.unbound.rpl.UnboundTests)  Time elapsed: 
0.008 sec  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class 
jdk.internal.reflect.ConstructorAccessorImpl loaded by 
org/powermock/core/classloader/MockClassLoader cannot access 
jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl


Results :

Tests in error: 
  RTest.initializationError ?? Objenesis 
java.lang.reflect.InvocationTargetExcep...
  TestAlgorithmSupport.initializationError ?? Objenesis 
java.lang.reflect.Invoca...
  TestBogusReasonMessage.initializationError ?? Objenesis 
java.lang.reflect.Invo...
  TestCNames.initializationError ?? Objenesis 
java.lang.reflect.InvocationTarget...


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