Re: RFR: 8304425: ClassHierarchyResolver from Reflection [v9]

2023-06-11 Thread Chen Liang
On Mon, 12 Jun 2023 04:52:57 GMT, Chen Liang wrote: >> src/java.base/share/classes/jdk/internal/classfile/impl/Util.java line 103: >> >>> 101: } >>> 102: return descOrInternalName.substring(1, >>> descOrInternalName.length() - 1).replace('/', '.'); >>> 103: } els

Re: RFR: 8304425: ClassHierarchyResolver from Reflection [v9]

2023-06-11 Thread Chen Liang
On Mon, 12 Jun 2023 02:41:02 GMT, ExE Boss wrote: >> Chen Liang has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 14 commits: >> >> - Review changes, fixed tests >> - Merge branch 'master' into hierarchy-resolve >> - 1. Moved the

Re: RFR: 8304425: ClassHierarchyResolver from Reflection [v9]

2023-06-11 Thread ExE Boss
On Wed, 7 Jun 2023 14:15:10 GMT, Chen Liang wrote: >> Add API to explore Class Hierarchy with a `ClassLoader` or a `Lookup` with >> proper privileges, with tests. >> >> This addition is useful in case classes at runtime are not loaded from the >> system class loader, such as Proxy. This is als

Re: RFR: 8304425: ClassHierarchyResolver from Reflection [v9]

2023-06-08 Thread ExE Boss
On Wed, 7 Jun 2023 14:15:10 GMT, Chen Liang wrote: >> Add API to explore Class Hierarchy with a `ClassLoader` or a `Lookup` with >> proper privileges, with tests. >> >> This addition is useful in case classes at runtime are not loaded from the >> system class loader, such as Proxy. This is als

Re: RFR: 8304425: ClassHierarchyResolver from Reflection [v9]

2023-06-08 Thread Chen Liang
On Wed, 7 Jun 2023 14:15:10 GMT, Chen Liang wrote: >> Add API to explore Class Hierarchy with a `ClassLoader` or a `Lookup` with >> proper privileges, with tests. >> >> This addition is useful in case classes at runtime are not loaded from the >> system class loader, such as Proxy. This is als

Re: RFR: 8304425: ClassHierarchyResolver from Reflection [v9]

2023-06-08 Thread Adam Sotona
On Wed, 7 Jun 2023 14:15:10 GMT, Chen Liang wrote: >> Add API to explore Class Hierarchy with a `ClassLoader` or a `Lookup` with >> proper privileges, with tests. >> >> This addition is useful in case classes at runtime are not loaded from the >> system class loader, such as Proxy. This is als

Re: RFR: 8304425: ClassHierarchyResolver from Reflection [v9]

2023-06-07 Thread Chen Liang
> Add API to explore Class Hierarchy with a `ClassLoader` or a `Lookup` with > proper privileges, with tests. > > This addition is useful in case classes at runtime are not loaded from the > system class loader, such as Proxy. This is also useful to APIs that generate > bytecode with a `Lookup`