-
Notifications
You must be signed in to change notification settings - Fork 6.3k
8319386: Migrate Class::getEnclosingMethod/Constructor away from old generic utilities #16496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
👋 Welcome back liach! A progress list of the required criteria for merging this PR into |
@liach This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@liach This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
/open |
@liach This pull request is now open |
@liach This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@liach This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
/open Please review this patch that migrated descriptor parsing from old, complex Java 5 signature parsing system to the java.lang.invoke's descriptor parsing utilities. |
@liach This pull request is now open |
❗ This change is not yet ready to be integrated. |
@liach This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@liach This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
/open |
@liach This pull request is now open |
Superseded by #19281 |
Please review a patch that migrates
Class::getEnclosingMethod
andClass::getEnclosingConstructor
's descriptor parsing from old generic utilities to more simple utilities from java.lang.invoke implementation. This will help migrate away from the old generic repositories in the future.The
getClassLoader()
call plusjdk/src/java.base/share/classes/sun/invoke/util/BytecodeDescriptor.java
Line 93 in 1a21c1a
should be functionally equivalent to the previous
getDeclsLoader()
jdk/src/java.base/share/classes/sun/reflect/generics/factory/CoreReflectionFactory.java
Lines 60 to 68 in 1a21c1a
plus
jdk/src/java.base/share/classes/sun/reflect/generics/factory/CoreReflectionFactory.java
Lines 113 to 114 in 1a21c1a
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/16496/head:pull/16496
$ git checkout pull/16496
Update a local copy of the PR:
$ git checkout pull/16496
$ git pull https://git.openjdk.org/jdk.git pull/16496/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 16496
View PR using the GUI difftool:
$ git pr show -t 16496
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/16496.diff
Webrev
Link to Webrev Comment