Mickael Istria created JBIDE-10840:
--------------------------------------
Summary: Consumption of sun.misc.Signal makes Tycho 0.14 fails because of
non-OSGi conformance
Key: JBIDE-10840
URL:
https://issues.jboss.org/browse/JBIDE-10840
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: forge
Environment: any
Reporter: Mickael Istria
Assignee: Koen Aers
Priority: Blocker
When building with Tycho, I get:
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:0.14.0-SNAPSHOT:compile (default-compile) on
project org.jboss.tools.forge.runtime.ext: Compilation failure: Compilation failure:
[ERROR]
/home/mistria/workspaceJBossTools/trunk/forge/plugins/org.jboss.tools.forge.runtime.ext/src/org/jboss/tools/forge/runtime/ext/CtrlCAction.java:[8,0]
[ERROR] import sun.misc.Signal;
[ERROR] ^^^^^^^^^^^^^^^
[ERROR] Access restriction: The type Signal is not accessible due to restriction on
classpath entry /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
To be clear with OSGi, the forge component has to provide a "framework extension
bundle" to re-export these libs: see
http://blog.meschberger.ch/2008/10/osgi-bundles-require-classes-from.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira