On 22/10/28 3:52 PM, Michael Bien wrote:
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.
I left a comment in the code where I ran into the problem; it references
https://github.com/apache/felix/pull/114
which led me to believe it was a JDK incompatibility; could just be that
issue's author's point of view. I vaguely remember reading other stuff
about it but it's not important now.
...
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.
Wasn't using nb-javac to compile NetBeans supposed to make it easier to
put that kind of thing together?
-ernie
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