On Tue, 25 Feb 2025 23:50:01 GMT, Chen Liang <li...@openjdk.org> wrote:

> Core reflection's generic signature parsing system is used for many aspects, 
> including annotations and enclosing methods, yet it is under-tested. It is 
> better for us to set up tests to ensure that sensitive error behaviors of 
> core reflection remain the same across implementation updates, such as #19281.
> 
> This patch also includes a JUnit converted version of 
> https://github.com/openjdk/jdk/pull/22581#issuecomment-2521703511 test 
> checking behavior around annotations with duplicate interfaces. Interesting 
> that this causes failure in class, field, and methods (constructors), but not 
> in parameters.
> 
> Testing: jdk-tier 1, jdk-tier 2

This pull request has now been integrated.

Changeset: a449aeef
Author:    Chen Liang <li...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/a449aeef287d32437d23bb69027175d6d861e2a6
Stats:     788 lines in 7 files changed: 731 ins; 56 del; 1 mod

8350704: Create tests to ensure the failure behavior of core reflection APIs

Reviewed-by: darcy

-------------

PR: https://git.openjdk.org/jdk/pull/23788

Reply via email to