On 22/10/29 1:48 AM, Neil C Smith wrote:
On Sat, 29 Oct 2022 at 00:28, Ernie Rael<err...@raelity.com>  wrote:
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.
That's not a bug in the JDK!
Wish I had an instinctive feel for these situations. I'll look at the code you referenced; lots of exposure (maybe along with some pain) is usually my best path to groking.
sigtest failed, and it was fixed by modifying sigtest.
Depends why sigtest fails.  In this case, because it doesn't list
bridge methods.

Imagine the new method had been added explicitly with the old one.
Sigtest would be fine.  Your code linked against it would still have
the same issues on older versions of NetBeans.

The biggest problem for me is that it is a run time failure. Can you suggest some way, perhaps a sigtest ripoff that checks some source/jar/nbm against sigs from a list of NetBeans releases, that I can work with to put together something to find such problems with static analysis?

to support a feature which is only available in a newer NB
version while also be able to run on older NB versions,
Wasn't using nb-javac to compile NetBeans supposed to make it easier to
put that kind of thing together?
I can't see any way that makes the situation any different.

Yes, the situation, /The plugin has a potentially serious problem/, is the same. I've worked hard to have a reliable plugin (it's an editor, it has to be). Now I understand there may be ticking time bombs scattered around. So now I'm considering solutions, and if I understand (and I may not), using nb-javac to build NetBeans (as was recently  suggested) better supports setting up an nbm that reliably runs run multiple versions. Or did you mean something different?

-ernie

Best wishes,

Neil

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



Reply via email to