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

Ernie Rael commented on NETBEANS-4299:
--------------------------------------

Tested with repo build, up to


{noformat}
@  changeset:   4228:03cf67e46d05
|  tag:         upstream/master
|  date:        Thu Apr 30 18:33:23 2020 +0200
{noformat}


> hint "Use @NbBundle.Messages" causes casual diff error; corrupts .java file
> ---------------------------------------------------------------------------
>
>                 Key: NETBEANS-4299
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4299
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Hints
>    Affects Versions: 12.0
>            Reporter: Ernie Rael
>            Priority: Major
>              Labels: regression
>             Fix For: 12.0
>
>         Attachments: CasualDiff.messages.log, OptionsPlayHackCasualDiff.zip
>
>
> In addition to the CasualDiff exception (see attached log), in the java file 
> a chunk of source gets copied to the fix location.
> Attached tiny project that reproduces the problem.
>  # in Menu > Tools > Options > Editor > Hints > NetBeansDevelopment
>  enable "Use @NbBundle.Messages" hint
>  # unzip sources; open OptionsPlayHackCasualDiff in IDE
>  # open file OptionsPlayHackOptionsPanelController.java
>  # go to the line with hint,
> {noformat}
>       keywords = "#OptionsCategory_Keywords_OptionsPlayHack",
> {noformat}
> and accept the hint "Use NbBundle.Message"
> Observe:
> CasualDiff generated, source file messed up.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to