Re: RFR: 8307575: Migrate the serialization constructor accessors to Method Handles [v3]

2023-06-26 Thread Chen Liang
> Apparently method handle linking doesn't impose extra checks on constructor > invocation, so the special logic for the serialization constructor to call > superclass constructor in MagicAccessorImpl can be removed altogether with > old core reflection implementation. > > Serialization and sun

Re: RFR: 8307575: Migrate the serialization constructor accessors to Method Handles [v2]

2023-05-07 Thread Chen Liang
> Apparently method handle linking doesn't impose extra checks on constructor > invocation, so the special logic for the serialization constructor to call > superclass constructor in MagicAccessorImpl can be removed altogether with > old core reflection implementation. > > Serialization and sun

RFR: 8307575: Migrate the serialization constructor accessors to Method Handles

2023-05-06 Thread Chen Liang
Apparently method handle linking doesn't impose extra checks on constructor invocation, so the special logic for the serialization constructor to call superclass constructor in MagicAccessorImpl can be removed altogether with old core reflection implementation. Serialization and sun.reflect.Ref