Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6411379
Votes 0
Synopsis NPE from JavacTrees.getPath
Category java:compiler
Reported Against
Release Fixed mustang(b85)
State 10-Fix Delivered, Verified, bug
Priority: 2-High
Related Bugs
Submit Date 11-APR-2006
Description
In JavacTrees.getPath(Elememt, AnnotationMirror, AnnotationValue)
the call of elements.getTreeAndTopLevel seems to (?) return null if the element is not found -- eg a PackageElement. This causes an NPE on the next line of code.
Posted Date : 2006-04-11 03:19:35.0

Ditto in JavacTrees.getTree
Posted Date : 2006-04-14 00:45:44.0
Work Around
N/A
Evaluation
Yes. See description. This should be fixed.
Posted Date : 2006-04-25 00:04:19.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang