Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
While working on PR-715 it turned out that enabling nbjavac sooner than its API leads to:
ClassNotFoundException: Will not load class com.sun.source.tree.Tree arbitrarily from one of [org.netbeans.libs.javacapi] and [org.netbeans.modules.nbjavac.api]
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.
Attachments
Issue Links
- is related to
-
NETBEANS-1481 Eager fragment with unsatisfied required token should't throw AssertionError
- Closed
- links to