Inline below... Den tis 27 maj 2025 kl 16:41 skrev Michael Bien <mbie...@gmail.com>:
> Hi Patrik, > > the list will highly depend on the dependencies of your application ;) > That much I understand ;) I have added them one by one when prompted by the logs, but never tried to remove anything until today. I had to restore one more to my default options today, still, 3 out of 36 is still pretty good. > 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 Having read that and had a look in the flags files I have a question. Are the flags file used to generate the netbeans_default_options line? > > 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 > > >