RFR: 8360303: Remove two unused invoke files

Roger Riggs rriggs at openjdk.org
Tue Jun 24 18:46:27 UTC 2025


On Mon, 23 Jun 2025 22:48:52 GMT, Chen Liang <liach at openjdk.org> wrote:

> sun.invoke.empty.Empty and java.lang.invoke.InvokeDynamic are useless remnants - Empty can be replaced by java.lang.Void, and InvokeDynamic was previously used as a stub for javac to compile signature polymorphic methods. They should be removed as a cleanup.
> 
> Testing: tier 1-3

How did you verify that the InvokeDynamic class was not used by *any* Hotspot implementation?
(Per the comment in the class)

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

PR Comment: https://git.openjdk.org/jdk/pull/25944#issuecomment-3001517828


More information about the core-libs-dev mailing list