Re: @Nonnull?

2021-06-24 Thread Owen Thomas
I commonly generate custom runtime exceptions for situations like this, but it perhaps would be nice to have the compiler flag where this situation is likely to happen too. Perhaps it is a feature of a later release... On Fri, 25 Jun 2021 at 15:30, Geertjan Wielenga < geertjan.wiele...@googlemail

Re: @Nonnull?

2021-06-24 Thread Geertjan Wielenga
Yes, googled a bit for this, doubt it exists as a feature in JDK 16. Gj On Fri, 25 Jun 2021 at 07:23, Lars Bruun-Hansen wrote: > What @Nonnull in Java ? Have I missed some news about a new feature > in the JDK? > Various third party libraries implement some form of non-null > annotation and yo

Re: @Nonnull?

2021-06-24 Thread Lars Bruun-Hansen
What @Nonnull in Java ? Have I missed some news about a new feature in the JDK? Various third party libraries implement some form of non-null annotation and you will have to use one such library ... unless I missed some new JDK feature. :-) /Lars On Fri, Jun 25, 2021 at 5:40 AM Owen Thoma

Re: @Nonnull?

2021-06-24 Thread Owen Thomas
Ok, thanks Geertjan. Let me know what you find. On Fri, 25 Jun 2021 at 12:59, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > > Maybe it doesn’t support it yet. Will try to find out. > > Gj > > On Fri, 25 Jun 2021 at 04:39, Owen Thomas > wrote: > >> I'm using NB 12.4 with JDK 16 a

Re: @Nonnull?

2021-06-24 Thread Geertjan Wielenga
Maybe it doesn’t support it yet. Will try to find out. Gj On Fri, 25 Jun 2021 at 04:39, Owen Thomas wrote: > I'm using NB 12.4 with JDK 16 and I have been reading a bit of the > annotations article from the newest Java Magazine. I thought I'd fiddle > with the @Nonnull annotation, so I put one

Re: FYI Netbeans is borked on JDK 17 / JDK 18

2021-06-24 Thread Geertjan Wielenga
Some, yes. Though this is where I sign off on this thread and look forward to continuing this discussion on dev. Gj On Fri, 25 Jun 2021 at 02:27, Ty Young wrote: > Are the issues fixed in an in-dev release then? > > > On 6/24/2021 4:06 AM, Geertjan Wielenga wrote: > > > The place for this kind

@Nonnull?

2021-06-24 Thread Owen Thomas
I'm using NB 12.4 with JDK 16 and I have been reading a bit of the annotations article from the newest Java Magazine. I thought I'd fiddle with the @Nonnull annotation, so I put one in a method's declaration where I thought it needed to go so I could indicate that a parameter needed a non-null valu

Re: FYI Netbeans is borked on JDK 17 / JDK 18

2021-06-24 Thread Ty Young
Are the issues fixed in an in-dev release then? On 6/24/2021 4:06 AM, Geertjan Wielenga wrote: The place for this kind of discussion is not @users but @dev, where you’ll find a lot of work is already being fone for JDK 17 for the next release. Gj On Thu, 24 Jun 2021 at 12:18, Ty Young

Re: v12.4 Fonts wrong

2021-06-24 Thread Peter Nabbefeld
Hello, I got problems with fonts on Linux, too, with NB 12.4 running on Java 16. I'm not sure, if the following article is related: https://docs.oracle.com/en/java/javase/16/intl/font-configuration-files.html Especially, the following statement: "For Linux, the Oracle JDK is moving away from pr

Re: Java 16 Javadocs?

2021-06-24 Thread Emilian Bold
I was thinking of something online. --emi joi, 24 iun. 2021, 01:16 Andreas Reichel a scris: > Greetings. > > On Wed, 2021-06-23 at 17:32 +0300, Emilian Bold wrote: > > It's amazing there's no 3rd party place for Javadocs considering there's > now so many OpenJDK distros. > > > I do not think th

Re: FYI Netbeans is borked on JDK 17 / JDK 18

2021-06-24 Thread Geertjan Wielenga
fone/done Gj On Thu, 24 Jun 2021 at 13:06, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > > The place for this kind of discussion is not @users but @dev, where you’ll > find a lot of work is already being fone for JDK 17 for the next release. > > Gj > > On Thu, 24 Jun 2021 at 12:

Re: FYI Netbeans is borked on JDK 17 / JDK 18

2021-06-24 Thread Geertjan Wielenga
The place for this kind of discussion is not @users but @dev, where you’ll find a lot of work is already being fone for JDK 17 for the next release. Gj On Thu, 24 Jun 2021 at 12:18, Ty Young wrote: > Just an FYI in case it isn't already known, Netbeans is borked on JDK 17 > / JDK 18 in-dev buil

FYI Netbeans is borked on JDK 17 / JDK 18

2021-06-24 Thread Ty Young
Just an FYI in case it isn't already known, Netbeans is borked on JDK 17 / JDK 18 in-dev builds. Usually Netbeans is really good with handling in-dev releases but this time around things seemed to have went south. The IDE can kinda sorta be fixed by installing the nb-javac plugin. On Linux I