On 29.10.22 00:27, Ernie Rael wrote:
On 22/10/28 3:08 PM, Michael Bien wrote:
Search for "ByteBuffer NoSuchMethodError" for a taste.
Looks familiar, think I ran into that. Wasn't that considered a bug in
the JDK release?
no, it was projects linking against the wrong JDK, e.g by not using the
-release flag. I explained that in the other mail how the release flag
works.
essentially what you are doing just with NB artifacts.
other mail:
but I don't like that it's a lot more work to have one binary that
both adds plugin features and makes use of new NetBeans features and
still runs on older releases.
thats how you chose to setup your project. There are various other ways
how to do this safely, but it highly depends on the situation. e.g if
you want to support a feature which is only available in a newer NB
version while also be able to run on older NB versions, you could put
that into a separate module and treat it as a service - it may or may
not be available.
in general: supporting a wide range of versions with the same binary
usually comes at a cost
-mbien
-ernie
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists