[
https://issues.apache.org/jira/browse/NETBEANS-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17097761#comment-17097761
]
Ernie Rael commented on NETBEANS-4299:
--------------------------------------
Added [~skygo] (RM) [~jlahoda], [~singh-akhilesh] as last to touch CasualDiff.
Labeled "regression" since works in 11.3/jdk8/nb-javac.
{noformat}
Product Version: Apache NetBeans IDE DEV (Build 20200501-unknown-revn)
Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
Runtime: Java(TM) SE Runtime Environment 14.0.1+7
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
{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: [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