Re: RFR: 8331724: Refactor j.l.constant implementation to internal package [v3]

2024-05-06 Thread Chen Liang
On Mon, 6 May 2024 15:15:36 GMT, Claes Redestad wrote: >> This PR suggests refactoring the implementation classes of >> java.lang.constant into a new package jdk.internal.constant to enable >> sharing some trusted static factory methods with users elsewhere in >> java.base, such as

Re: RFR: 8331724: Refactor j.l.constant implementation to internal package [v3]

2024-05-06 Thread Claes Redestad
On Mon, 6 May 2024 14:58:02 GMT, Chen Liang wrote: >> Claes Redestad has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Rename ofTrusted to ofValidated, remove accidental module-info exports > >

Re: RFR: 8331724: Refactor j.l.constant implementation to internal package [v3]

2024-05-06 Thread Claes Redestad
> This PR suggests refactoring the implementation classes of java.lang.constant > into a new package jdk.internal.constant to enable sharing some trusted > static factory methods with users elsewhere in java.base, such as > java.lang.invoke and java.lang.classfile. The refactoring also adds