Re: [platform] default options and add-opens+add-exports

Michael Bien <[email protected]>
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <[email protected]>
Hi Patrik,

the list will highly depend on the dependencies of your application ;)

If the platform application doesn't depend on any java editor features for example,
the list should be already significantly smaller than the one in the NetBeans config.

Cleanups and JDK version bumps within NetBeans and dependency tree changes
might also have helped to shrink the list. It wouldn't surprise me if we could
remove a few flags for NB too.

e.g https://github.com/apache/netbeans/pull/8110 does probably allow to drop a flag,
I just never ended testing it.

The general idea is to shrink the list when possible, as mentioned in the readme:

https://github.com/apache/netbeans/tree/master/nbbuild/jms-config

regards,

-mbien


On 5/27/25 15:04, Patrik Karlström wrote:
> I have over the years added 18 add-opens and 18 add-exports to my default options in my applications config.
>
> Today, with RELEASE26 and JDK 24.0.1 I realized I could remove everything but add-opens for java.io <http://java.io> and java.net <http://java.net>.
>
> I'm happy but curious, what has changed?
>
> /Patrik



---------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.