Chen Liang

Results 87 issues of Chen Liang

Summary of the changes: - Moved `com.sun.tools.classfile.Dependency` and `Dependencies` to jdeps; they are exclusively used by jdeps in sources, and they are not used in any tests too. This will...

rfr
core-libs
compiler

Some tests are not migrated to the ClassFile API in previous migrations. - Some are simple oversights that didn't remove usages of com.sun.tools.classfile; - The CallerSensitive ones used an old...

rfr
core-libs
javadoc
compiler

Core reflection's generic signature parsing uses an ancient library with outdated visitor pattern on a tree model and contains unnecessary boilerplates. This is a duplication of ClassFile API's signature model....

rfr
core-libs

This is an outline of the 2 computed-constant maps I proposed on leyden-dev list; they are copied from existing cc list and immutable map. They should be constant-foldable in theory...

Simple fix for `MethodTypeDescImpl`'s violation of `resolveConstantDesc` specification. --------- ### Progress - [x] Change must be properly reviewed (1 review required, with at least 1 [Reviewer](https://openjdk.org/bylaws#reviewer)) - [x] Change must...

csr
rfr
core-libs

Please review this clean backport of #19981 onto JDK 23, fixing `StackMapGenerator` generating static methods with no declared local variable a max local of 1. --------- ### Progress - [...

rfr
core-libs
backport
clean

`Method.invoke` and `Constructor.newInstance` wraps `Error` in `InvocationTargetException`, which is bug-prone for users. Worse, this is only ambiguously mentioned in the API specification. This patch proposes to explicitly mention that `InvocationTargetException`...

csr
rfr
core-libs

Clarify that only `Class` is returned for core reflection implementation, and the return type is `Type` to support other implementations, such as ones modeling unloaded or remote types. --------- ###...

rfr
core-libs

Clarify that `ParameterizedType.getOwnerType()` always return `null` in a few scenarios. --------- ### Progress - [ ] Change must be properly reviewed (1 review required, with at least 1 [Reviewer](https://openjdk.org/bylaws#reviewer)) -...

csr
rfr
core-libs

Now that ant is no longer bundled with IDEA, it has to be defined in a different way. And intellij IDEA changed their gradle plugin for IDE plugins so I...

rfr