RFR: 8312486: Allow abstract classes for MethodHandleProxies::asInterfaceInstance

Chen Liang liach at openjdk.org
Thu Jul 20 23:56:45 UTC 2023


With the reimplementation of MHP.asIFInstance, now it can easily adapt to abstract classes as well. Repurposed PublicMethods from java.lang to track method inheritance for MHP to reduce redundancies.

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

Commit messages:
 - Merge branch 'master' into explore/mhp-samclass
 - Minor spec updates, tests, Security Manager fixed
 - try fix security manager
 - First draft of interface instance for SAM no-arg ctor abstract classes

Changes: https://git.openjdk.org/jdk/pull/14966/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14966&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8312486
  Stats: 287 lines in 6 files changed: 213 ins; 17 del; 57 mod
  Patch: https://git.openjdk.org/jdk/pull/14966.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14966/head:pull/14966

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


More information about the core-libs-dev mailing list