[lworld] RFR: JDK-8284000: [lworld] sun/reflect/ReflectionFactory/ReflectionFactoryTest.java fails after JDK-8283573

Mandy Chung mchung at openjdk.java.net
Wed Mar 30 19:26:38 UTC 2022


The ReflectionFactory.java test fails in checking the declaring class of an instance returned from calling `Class::newInstance` on `Object.class`.   The test should check for `Identity.class` instead.

A separate JBS issue will follow up the impact to the core reflection API and `sun.reflect.ReflectionFactory` API.

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

Commit messages:
 - JDK-8284000: [lworld] sun/reflect/ReflectionFactory/ReflectionFactoryTest.java fails after JDK-8283573

Changes: https://git.openjdk.java.net/valhalla/pull/674/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=674&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8284000
  Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/674.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/674/head:pull/674

PR: https://git.openjdk.java.net/valhalla/pull/674



More information about the valhalla-dev mailing list