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
8268788: Annotations with lambda expressions can still cause AnnotationFormatError #4642
8268788: Annotations with lambda expressions can still cause AnnotationFormatError #4642
Conversation
👋 Welcome back fdesu! A progress list of the required criteria for merging this PR into |
141d67a
to
bb08498
Compare
Webrevs
|
Hi, I would appreciate if anyone could take a look and let me know their opinion. Removing the |
Mailing list message from Joe Darcy on core-libs-dev: Hello, I should be able to look at this within the next week or two; thanks, -Joe On 7/6/2021 1:22 AM, Sergei Ustimenko wrote: |
1 similar comment
Mailing list message from Joe Darcy on core-libs-dev: Hello, I should be able to look at this within the next week or two; thanks, -Joe On 7/6/2021 1:22 AM, Sergei Ustimenko wrote: |
Mailing list message from Sergei Ustimenko on core-libs-dev: Hi Joe, Thanks, I appreciate your feedback very much! There was one more thing I wanted to discuss: there is something that There are `if` statements that set the variable called `valid` to false @@ -493,10 +493,7 @@ class AnnotationInvocationHandler implements InvocationHandler, Serializable { ... What do you think? Does it make sense? Thanks, ??????? Original Message ??????? On Tuesday, July 6th, 2021 at 16:01, Joe Darcy <joe.darcy at oracle.com> wrote:
|
1 similar comment
Mailing list message from Sergei Ustimenko on core-libs-dev: Hi Joe, Thanks, I appreciate your feedback very much! There was one more thing I wanted to discuss: there is something that There are `if` statements that set the variable called `valid` to false @@ -493,10 +493,7 @@ class AnnotationInvocationHandler implements InvocationHandler, Serializable { ... What do you think? Does it make sense? Thanks, ??????? Original Message ??????? On Tuesday, July 6th, 2021 at 16:01, Joe Darcy <joe.darcy at oracle.com> wrote:
|
bb08498
to
fc04271
Compare
@fdesu 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! |
fc04271
to
1f5fd0a
Compare
d8bb4ce
to
9cf2f0c
Compare
Hi,
(and as these two above work together to store methods in the What do you think, does it makes sense? Thanks for taking a look! |
Hello, Thanks for the refined PR. Doing another round of review remain on my to-do list. -Joe |
@fdesu 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! |
@fdesu 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 |
@jddarcy Only the pull request author can set the pull request state to "open" |
/open |
@fdesu This pull request is now open |
@fdesu 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! |
@fdesu 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 |
Change #3294 helps to avoid
AnnotaionFormatException
insun.reflect.annotation.AnnotationInvocationHandler.validateAnnotationMethods
. While it fixes the case with e.g.Runnable
that generates the synthetic method without parameters, validation still fails on synthetic methods that have parameters e.g.Function
,BiFunction
, etc.This change removes the restriction on parameters count to be zero i.e. lambdas with parameters
would be skipped from validation.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/4642/head:pull/4642
$ git checkout pull/4642
Update a local copy of the PR:
$ git checkout pull/4642
$ git pull https://git.openjdk.java.net/jdk pull/4642/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 4642
View PR using the GUI difftool:
$ git pr show -t 4642
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/4642.diff