Hello, the type annotation parser does not currently check if a member type for an enum or annotation type is actually still an enum or annotation type at runtime upon resolving an annotation. This causes a null pointer exception while it should yield an incompatibility exception upon resolving the property instead.
Webrev: http://cr.openjdk.java.net/~winterhalter/8228988/ Best regards, Rafael
