RFR: 8228988 - Type annotation parser throws null pointer upon incompatible attribute type
Rafael Winterhalter
rafael.wth at gmail.com
Mon Sep 9 22:14:53 UTC 2019
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
More information about the core-libs-dev
mailing list