You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ernie Rael (Jira)" <ji...@apache.org> on 2020/05/02 23:00:00 UTC
[jira] [Updated] (NETBEANS-4299) hint "Use @NbBundle.Messages"
causes casual diff error; corrupts .java file
[ https://issues.apache.org/jira/browse/NETBEANS-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ernie Rael updated NETBEANS-4299:
---------------------------------
Labels: pull-request-available regression (was: regression)
> 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: 10m
> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists