[lworld] RFR: JDK-8247795 allow factory methods for inline types to return j.l.Obje…

Harold Seigel hseigel at openjdk.java.net
Fri Jun 19 13:17:38 UTC 2020


Expect the return type for the <init> factory methods of hidden inline classes to return type java.lang.Object.  Also,
fix issue so that Reflection::new_constructor(), not new_method(), is called for <init> factory methods.

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

Commit messages:
 - JDK-8247795 allow factory methods for inline types to return j.l.Object and fix issue with calls to Reflection::new_constructor()

Changes: https://git.openjdk.java.net/valhalla/pull/94/files
 Webrev: https://webrevs.openjdk.java.net/valhalla/94/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8247795
  Stats: 338 lines in 7 files changed: 331 ins; 0 del; 7 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/94.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/94/head:pull/94

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



More information about the valhalla-dev mailing list