[
https://issues.apache.org/jira/browse/NETBEANS-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Svatopluk Dedic resolved NETBEANS-1147.
---------------------------------------
Resolution: Fixed
Fix Version/s: Next
> Enabling fragment has to enable host bundle first
> -------------------------------------------------
>
> Key: NETBEANS-1147
> URL: https://issues.apache.org/jira/browse/NETBEANS-1147
> Project: NetBeans
> Issue Type: Bug
> Components: platform - Module System
> Reporter: Jaroslav Tulach
> Assignee: Svatopluk Dedic
> Priority: Major
> Labels: pull-request-available
> Fix For: Next
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> While working on
> [PR-715|https://github.com/apache/incubator-netbeans/pull/715] it turned out
> that enabling nbjavac sooner than its API leads to:
> {code}
> ClassNotFoundException: Will not load class com.sun.source.tree.Tree
> arbitrarily from one of [org.netbeans.libs.javacapi] and
> [org.netbeans.modules.nbjavac.api]
> {code}
> This is a result of enabling the fragment first and host later. That is
> strange situation - the fragment should have a dependency on the host, right?
> This is the hotfix:
> https://github.com/apache/incubator-netbeans/pull/715/commits/ac944a13f57816970556b0b8e2e3971ea94bb3e5
> but proper fix with a test in {{o.n.bootstrap}} is needed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists