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.
Summary: |
Annotationprocessor for org.netbeans.spi.java.hints.Hint doesn't detect @Messages annotations at static methods |
Product: |
java
|
Reporter: |
markiewb |
Component: |
Hints | Assignee: |
Svata Dedic <sdedic> |
Status: |
RESOLVED
WORKSFORME
|
|
|
Severity: |
normal
|
|
|
Priority: |
P3
|
|
|
Version: |
8.0 | |
|
Hardware: |
PC | |
|
OS: |
Windows 7 | |
|
Issue Type:
|
DEFECT
|
Exception Reporter:
|
|
Attachments: |
Shows the issue
|
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