[jira] [Commented] (NETBEANS-1858) Apply Code Changes not working

2019-04-23 Thread Klaus Rheinwald (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824220#comment-16824220
 ] 

Klaus Rheinwald commented on NETBEANS-1858:
---

The problem could be Ant:

My original (ant-based) project was used until recently in NB 8.2. After 
upgrading to NB 10 (and now 11) running on openJDK 11 and the project using JDK 
8, ‘Apply Code Changes’ stopped being enabled after editing and saving a source 
file when the debugee was stopped.

To recreate, I created a Java Ant Application (as the original project), added 
System.out.println("Hello World"); to main(), put a breakpoint on that line, 
started debug, changed that line and saved, ‘Apply Code Changes’ is still 
disabled. ‘Compile on Save’ is enabled in the Project Preferences, ‘Apply Code 
Changes on Compile on Save’ in the general settings does not have an impact, 
neither does switching to JDK 8 for NB.

 

> Apply Code Changes not working
> --
>
> Key: NETBEANS-1858
> URL: https://issues.apache.org/jira/browse/NETBEANS-1858
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Tomasz Kubik
>Priority: Major
> Fix For: Next
>
>
> Button "Apply Code Changes" is always disabled.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1858) Apply Code Changes not working

2019-04-23 Thread Eirik Bakke (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824151#comment-16824151
 ] 

Eirik Bakke commented on NETBEANS-1858:
---

Works for me on NetBeans 11 with the IDE running on Java 11.0.1 and a 
Maven-based Java project running Java 9.0.7.1, on Windows 10.

> Apply Code Changes not working
> --
>
> Key: NETBEANS-1858
> URL: https://issues.apache.org/jira/browse/NETBEANS-1858
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Tomasz Kubik
>Priority: Major
> Fix For: Next
>
>
> Button "Apply Code Changes" is always disabled.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists