You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am aware the issue might be complicated to solve here. It should probably be solved somewhere else
In a project where we are using com.diffplug.gradle:goomph:3.33.2 for the buildproperties and mavencentral plugins we have an other plugin that starts a new instance of the equinox framework.
Caused by: java.lang.SecurityException: class "org.osgi.service.log.LogLevel"'s signer information does not match signer information of other classes in the same package
at org.eclipse.osgi.internal.log.EquinoxLogServices.<init>(EquinoxLogServices.java:94)
at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:90)
at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:34)
at org.eclipse.osgi.launch.EquinoxFactory.newFramework(EquinoxFactory.java:28)
...
After analyzing the classpath ./gradlew buildEnvironment:
I am aware the issue might be complicated to solve here. It should probably be solved somewhere else
In a project where we are using
com.diffplug.gradle:goomph:3.33.2
for thebuildproperties
andmavencentral
plugins we have an other plugin that starts a new instance of the equinox framework.Something like this:
We have the issue:
After analyzing the classpath
./gradlew buildEnvironment
:It seems that 2 jars holds the
org.osgi.service.log
package:org.eclipse.platform:org.eclipse.osgi:3.15.0
biz.aQute.bnd:biz.aQute.bndlib:5.3.0
So I can understand the
SecurityException
, and I am wondering why everybody seems to include the same OSGi code inside its jar.A similar error was reported here diffplug/spotless#873 (comment). Not sure if this is related.
What is your opinion on this?
The text was updated successfully, but these errors were encountered: