mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8263763: Synthetic constructor parameters of enum are not considered for annotation indices
Reviewed-by: darcy, jfranck
This commit is contained in:
parent
1ee80e03ad
commit
9dd96257c6
4 changed files with 73 additions and 9 deletions
|
@ -760,7 +760,7 @@ public final class Method extends Executable {
|
|||
}
|
||||
|
||||
@Override
|
||||
boolean handleParameterNumberMismatch(int resultLength, int numParameters) {
|
||||
boolean handleParameterNumberMismatch(int resultLength, Class<?>[] parameterTypes) {
|
||||
throw new AnnotationFormatError("Parameter annotations don't match number of parameters");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue