Looked into this a bit more and made the following observations:
-A clean userdir doesn't solve the problem
-Trying different JDK 11 (Adopt, Liberica & Zulu, with/without JavaFX) for
NetBeans doesn't solve the problem
-Nor does JDK 14,
-However, Running NetBeans on JDK 8 makes a RELEASE120-1 application behave
as an RELEASE113 one in NetBeans IDE. (It releases the process when exited)

@Eric Did you by any chance test this with NetBeans on JDK 8?


Den tis 16 juni 2020 kl 15:58 skrev Patrik Karlström <[email protected]>:

> I'm happy for you Eric :)
> Would it be possible for you to restart the IDE after switching to 120-1
> if it has not been shut down since?
> For some reason, I think it's necessary.
>
> /Patrik
>
> Den tis 16 juni 2020 kl 15:24 skrev Eric Barboni <[email protected]>:
>
>> Hi,
>>  I'm sorry for me it works with clean exit, clean building running 113
>> and then for 120-1, no restart of IDE.
>>  Not sure what happens.
>>
>> Regards
>> Eric
>>
>>
>>
>>
>> -----Message d'origine-----
>> De : Patrik Karlström <[email protected]>
>> Envoyé : mardi 16 juin 2020 13:38
>> À : [email protected]
>> Objet : Re: False(?) warning on Exit IDE with RELEASE120-1 applications
>>
>> Just noticed this on NetBeans IDE 11.3 too running a RELEASE120-1
>> application.
>>
>> Den mån 15 juni 2020 kl 17:23 skrev Patrik Karlström <[email protected]>:
>>
>> > For a couple of days I've been noticing a suspicious behavior when
>> > exiting the IDE after running platform applications based upon
>> > RELEASE120-1, I think.
>> >
>> > Even though the output window displays something like
>> > ----------------------------------------------------------------------
>> > --
>> > BUILD SUCCESS
>> > ----------------------------------------------------------------------
>> > --
>> > Total time:  16.010 s
>> > Finished at: 2020-06-15T16:45:24+02:00
>> > ----------------------------------------------------------------------
>> > --
>> >
>> > and the menu item "Run/Stop build/run" is disabled
>> >
>> > I get the following dialog when exiting the IDE
>> >
>> > Exit IDE
>> > Exiting the IDE will terminate the following processes:
>> > Process - Run(...)
>> > Process - Run(...)
>> > Process - Run(...)
>> > ...*
>> >
>> > *Number of rows depending on number of application starts.
>> >
>> > And the thing is, when I DO have the application running and trying to
>> > exit the IDE, the dialog shows two rows, one WITH "Process - ", and
>> > one without.
>> >
>> > I noticed this in my platform application, on Kubuntu and Windows, and
>> > was able to reproduce on a fresh project.
>> >
>> > Steps to reproduce on NetBeans 12
>> >
>> >    1. Create a new project: Maven based platform application with sample
>> >    module.
>> >    2. Use RELEASE113.
>> >    3. Run & exit the application.
>> >    4. Exit the IDE and notice that it works as expected.
>> >    5. Start the IDE and use RELEASE120-1 instead
>> >    6. Build, Run & exit the application.
>> >    7. Exit the IDE and notice the dialog: Exiting the IDE will terminate
>> >    the following processes
>> >
>> > I think one has to restart the IDE between changes of netbeans.version.
>> >
>> > You can also try to exit the IDE with the application running and
>> > notice the difference in the dialog contents.
>> >
>> > Is it just me?
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>>
>>

Reply via email to