This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 238068 - Annotationprocessor for org.netbeans.spi.java.hints.Hint doesn't detect @Messages annotations at static methods
Summary: Annotationprocessor for org.netbeans.spi.java.hints.Hint doesn't detect @Mess...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-06 22:06 UTC by markiewb
Modified: 2016-07-10 17:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue (167.37 KB, image/png)
2013-11-06 22:06 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2013-11-06 22:06:36 UTC
Created attachment 141922 [details]
Shows the issue

See screenshot.
I put the @Message annotation at a public static method and the @Hint annotation complains about missing resourcebundle entries. The entries are there. It works when the @Message annotation is placed above a class.

Product Version: NetBeans IDE Dev (Build 201310290001)
Updates: Updates available
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\markiewb\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\markiewb\AppData\Local\NetBeans\Cache\dev
Comment 1 Martin Balin 2016-07-07 07:19:09 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 2 markiewb 2016-07-10 17:53:20 UTC
worksforme

Product Version: NetBeans IDE Dev (Build 201607100002)
Java: 1.8.0_71; Java HotSpot(TM) 64-Bit Server VM 25.71-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_71-b15
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)