Re: RFR: 8356022: Migrate descriptor parsing from generics to BytecodeDescriptor

2025-05-01 Thread Chen Liang
On Fri, 2 May 2025 05:19:57 GMT, Shaojin Wen wrote: >> As another step toward the removal of the old generics infrastructure, I >> propose to remove the usages of generic parsing utilities and use the >> facilities provided by BytecodeDescriptor, already used by >> MethodType.fromDescriptorStr

Re: RFR: 8356022: Migrate descriptor parsing from generics to BytecodeDescriptor

2025-05-01 Thread Shaojin Wen
On Thu, 1 May 2025 00:01:08 GMT, Chen Liang wrote: > As another step toward the removal of the old generics infrastructure, I > propose to remove the usages of generic parsing utilities and use the > facilities provided by BytecodeDescriptor, already used by > MethodType.fromDescriptorString.

Re: RFR: 8356022: Migrate descriptor parsing from generics to BytecodeDescriptor

2025-05-01 Thread Shaojin Wen
On Thu, 1 May 2025 00:01:08 GMT, Chen Liang wrote: > As another step toward the removal of the old generics infrastructure, I > propose to remove the usages of generic parsing utilities and use the > facilities provided by BytecodeDescriptor, already used by > MethodType.fromDescriptorString.

Re: RFR: 8356022: Migrate descriptor parsing from generics to BytecodeDescriptor

2025-05-01 Thread Chen Liang
On Fri, 2 May 2025 04:56:51 GMT, Shaojin Wen wrote: >> As another step toward the removal of the old generics infrastructure, I >> propose to remove the usages of generic parsing utilities and use the >> facilities provided by BytecodeDescriptor, already used by >> MethodType.fromDescriptorStr

Re: RFR: 8356022: Migrate descriptor parsing from generics to BytecodeDescriptor

2025-05-01 Thread Shaojin Wen
On Thu, 1 May 2025 00:01:08 GMT, Chen Liang wrote: > As another step toward the removal of the old generics infrastructure, I > propose to remove the usages of generic parsing utilities and use the > facilities provided by BytecodeDescriptor, already used by > MethodType.fromDescriptorString.

RFR: 8356022: Migrate descriptor parsing from generics to BytecodeDescriptor

2025-04-30 Thread Chen Liang
As another step toward the removal of the old generics infrastructure, I propose to remove the usages of generic parsing utilities and use the facilities provided by BytecodeDescriptor, already used by MethodType.fromDescriptorString. This also prevents extra validation cost in use sites to def