jtulach commented on code in PR #9756:
URL: https://github.com/apache/netbeans/pull/9756#discussion_r4397657656
##########
platform/core.netigso/src/org/netbeans/core/netigso/Netigso.java:
##########
@@ -144,6 +144,16 @@ protected void prepare(Lookup lkp, Collection<? extends
Module> preregister) {
" Is org.netbeans.libs.felix module or similar
enabled?" // NOI18N
);
}
+ // Align packages that are delegated to the JDK with equinox to
+ // limit incompatibilities. By default Apache Felix only delegates
+ // java.*
+ //
+ //
https://github.com/eclipse-equinox/equinox/blob/7d9c3b69eae96c977f7f97add730a4d679060002/bundles/org.eclipse.osgi/JavaSE-9.profile#L244-L251
+ configMap.merge(
+ Constants.FRAMEWORK_BOOTDELEGATION,
+ "javax.*, org.ietf.jgss, org.omg.*, org.w3c.*, org.xml.*,
sun.*, com.sun.*",
Review Comment:
- is it reasonable to export package that aren't visible by the JPMS?
- e.g. `sun.*` and `com.sun.**` seem to contradict the direction JDK is
heading
- if there is a code that really needs these packages, then OK, ...
- ...but otherwise, I'd suggest to avoid exporting these non-public JDK
packages
- exporting `javax`, `org.w3c`, or `org.xml` is OK
- Is `org.omg` still in the JDK21+?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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