[ 
https://issues.apache.org/jira/browse/NETBEANS-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomáš Procházka resolved NETBEANS-4299.
---------------------------------------
    Resolution: Fixed

Fix was merged.

> 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: pull-request-available, regression
>             Fix For: 12.0
>
>         Attachments: CasualDiff.messages.log, OptionsPlayHackCasualDiff.zip
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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