Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Pax Exam compatible with JUnit 4.13 #1072

Open
oliverlietz opened this issue Sep 2, 2022 · 0 comments
Open

Make Pax Exam compatible with JUnit 4.13 #1072

oliverlietz opened this issue Sep 2, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@oliverlietz
Copy link
Member

java.lang.IncompatibleClassChangeError: class org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunnerClassRequest overrides final method org.junit.internal.requests.MemoizingRequest.getRunner()Lorg/junit/runner/Runner;
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2338)
	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClassParallel(BundleWiringImpl.java:2156)
	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2090)
	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)
	at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79)
	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1976)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvokerFactory.createProbeInvoker(JUnitProbeInvokerFactory.java:36)
	at org.ops4j.pax.exam.raw.extender.intern.Parser.createInvoker(Parser.java:94)
	at org.ops4j.pax.exam.raw.extender.intern.Parser.make(Parser.java:81)
	at org.ops4j.pax.exam.raw.extender.intern.Parser.<init>(Parser.java:67)
	at org.ops4j.pax.exam.raw.extender.intern.TestBundleObserver.addingEntries(TestBundleObserver.java:69)
	at org.ops4j.pax.swissbox.extender.BundleWatcher$3.run(BundleWatcher.java:226)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
@oliverlietz oliverlietz added this to the 4.14.0 milestone Sep 2, 2022
@oliverlietz oliverlietz self-assigned this Aug 18, 2023
oliverlietz added a commit that referenced this issue Oct 5, 2023
* override createRunner from ClassRequest instead of getRunner
* use latest JUnit 4.13.2 and Hamcrest 1.3 bundles from ServiceMix
@oliverlietz oliverlietz moved this to Done in Pax Exam 4.x Oct 5, 2023
oliverlietz added a commit that referenced this issue Oct 7, 2023
fix version property for bundle org.apache.servicemix.bundles.junit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

1 participant