Skip to content

org.jboss.windup.decompiler.procyon provides split package com.strobel.assembler.metadata

The errors discovered when setting up a new workspace in Eclipse 2023-06 were:

Description    Resource    Path    Location    Type
Access restriction: The method 'Buffer.array()' is not API (restriction on required library 'C:\w\...\.metadata\.plugins\org.eclipse.pde.core\.bundle_pool\plugins\org.bitbucket.mstrobel.procyon-compilertools_0.5.33.jar')    DecompilerImpl.java    /org.simantics.scl.compiler.decompiler/src/org/simantics/scl/compiler/internal/decompiler/impl    line 29    Java Problem
Access restriction: The method 'Buffer.reset(int)' is not API (restriction on required library 'C:\w\...\.metadata\.plugins\org.eclipse.pde.core\.bundle_pool\plugins\org.bitbucket.mstrobel.procyon-compilertools_0.5.33.jar')    DecompilerImpl.java    /org.simantics.scl.compiler.decompiler/src/org/simantics/scl/compiler/internal/decompiler/impl    line 28    Java Problem
Access restriction: The type 'Buffer' is not API (restriction on required library 'C:\w\...\.metadata\.plugins\org.eclipse.pde.core\.bundle_pool\plugins\org.bitbucket.mstrobel.procyon-compilertools_0.5.33.jar')    DecompilerImpl.java    /org.simantics.scl.compiler.decompiler/src/org/simantics/scl/compiler/internal/decompiler/impl    line 9    Java Problem
Access restriction: The type 'Buffer' is not API (restriction on required library 'C:\w\...\.metadata\.plugins\org.eclipse.pde.core\.bundle_pool\plugins\org.bitbucket.mstrobel.procyon-compilertools_0.5.33.jar')    DecompilerImpl.java    /org.simantics.scl.compiler.decompiler/src/org/simantics/scl/compiler/internal/decompiler/impl    line 23    Java Problem
Access restriction: The type 'ITypeLoader' is not API (restriction on required library 'C:\w\...\.metadata\.plugins\org.eclipse.pde.core\.bundle_pool\plugins\org.bitbucket.mstrobel.procyon-compilertools_0.5.33.jar')    DecompilerImpl.java    /org.simantics.scl.compiler.decompiler/src/org/simantics/scl/compiler/internal/decompiler/impl    line 10    Java Problem
Access restriction: The type 'ITypeLoader' is not API (restriction on required library 'C:\w\...\.metadata\.plugins\org.eclipse.pde.core\.bundle_pool\plugins\org.bitbucket.mstrobel.procyon-compilertools_0.5.33.jar')    DecompilerImpl.java    /org.simantics.scl.compiler.decompiler/src/org/simantics/scl/compiler/internal/decompiler/impl    line 21    Java Problem

The reason for these problems is shown in the following screenshot:

image

There's two bundles providing the com.strobel.assembler.metadata package.

One solution is to remove all org.jboss.windup.* bundle references from https://gitlab.simantics.org/simantics/platform/-/blob/master/releng/org.simantics.sdk.build.targetdefinition/org.simantics.sdk.build.targetdefinition.tpd#L376-385 to avoid those ever appearing in the target platform.

They're not needed for anything at the moment.

Edited by Tuukka Lehtonen