[
https://issues.jboss.org/browse/JBIDE-10840?page=com.atlassian.jira.plugi...
]
Mickael Istria commented on JBIDE-10840:
----------------------------------------
Setting up a framework extension is annoying: this extension must be made available in the
target platform! That introduce much complexity.
How difficult it would be to reimplement this stuff with normal Java?
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