Re: Netbeans 31 fails working with latest version of Lombok

Neil C Smith <[email protected]>
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <CAMYaZEuPfSwEeanBzuK3XfM6K4JohVkxK3Bg667P__SKk7yOuQ@mail.gmail.com>
On Tue, 11 Aug 2026 at 21:22, Tim Mullé <[email protected]> wrote:
> I can stay on 30 for now, since we are heavily lombok based and they are not ready for jdk27.
>
> Maybe there should be a big migration notice on the Netbeans Download page stating that Lombok is currently not supported in NB31? So it jumps out at developers? I’m sure I’m not the only one who will run into this.

Yes, you're not!  Which a minimal amount of searching on this list or
the issue tracker would have found.  I'm losing track of how many
times we've had this same conversation over the last couple of weeks,
or with pretty much any odd numbered release.

We're not putting a notice on our download page, but I would like to
revisit the idea of having a pinned issue about this, just to cut down
the workload.  There is an old pinned discussion at
https://github.com/apache/netbeans/discussions/8221 but obviously no
one is finding that.

Let's be clear, Lombok is a hack!  NetBeans doesn't support Lombok.
Because javac doesn't support Lombok.  And NetBeans uses javac to
parse source code.  If you use an even numbered NetBeans release and
the latest version of Lombok, you should get lucky.  But don't
complain to us if it breaks!  All odd numbered NetBeans releases
contain an EA version of the compiler for the next JDK release, so
that we can support new Java features.  Until Lombok releases a
version that supports the new JDK, you will most likely run into
problems.

The other week I was having a discussion with someone who claimed that
Lombok always worked in NetBeans these days, and I replied that I was
sure we'd see lots of reports with NB31.  I should have kept my mouth
shut! :-)

Best wishes,

Neil

---------------------------------------------------------------------
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.