On 22/10/27 11:17 AM, Neil C Smith wrote:
On Thu, 27 Oct 2022, 19:03 Ernie Rael,<[email protected]> wrote:
This is very strange. If I build the plugin on 15 it runs on 15. If I
build it with 16-RC2 it will not install on 15. I noticed this a few
days ago, but wanted to wait for RC2 before mentioning it.
I'll try to narrow it down, wondering if anyone has some ideas about this.
It'll be caused byhttps://github.com/apache/netbeans/pull/4678
Downside of adding generics. Still time to review, although I assume the
reverse situation isn't affected?
Building on 15 can install on 16.
BUT, I need to build on 16. I've got this code which references a new 16
method, that I expect to run on NB back to 12.0
@Override
public Component findDialogParent()
{
//return super.findDialogParent();
return ViManager.getHackFlag(Module.HACK_FIND_DIALOG_PARENT)
? Utilities.findDialogParent()
: super.findDialogParent();
}
I don't particularly enjoy juggling JDKs. And I sure don't want to have
to not only maintain two source releases but also have different
NetBeans versions. Not to mention having two binaries so I'd have to set
up another update center for NB-16.
-ernie
Best wishes,
Neil