Re: Reflection, TYPE_USE annotation on THROWS on inner class constructor, Java 9+

2018-11-14 Thread Vicente Romero
Hi Michael, Thanks for the report. I have created: https://bugs.openjdk.java.net/browse/JDK-8213905 to track it, Vicente On 11/9/18 10:13 AM, Michael Rasmussen wrote: Hi When adding a TYPE_USE annotation with runtime retention to the throws exception clause of a constructor of an inner

Reflection, TYPE_USE annotation on THROWS on inner class constructor, Java 9+

2018-11-09 Thread Michael Rasmussen
Hi When adding a TYPE_USE annotation with runtime retention to the throws exception clause of a constructor of an inner class, these annotations are not found via Constructor.getAnnotatedExceptionType().getDeclaredAnnotations() on Java 9+, but present when running on Java 8. For static nested