You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jaroslav Tulach (JIRA)" <ji...@apache.org> on 2018/08/18 12:01:00 UTC

[jira] [Created] (NETBEANS-1147) Enabling fragment has to enable host bundle first

Jaroslav Tulach created NETBEANS-1147:
-----------------------------------------

             Summary: 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


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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists