-
Bug
-
Resolution: Fixed
-
P3
-
9, 11, 17, 21, 22, 23
-
b18
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
openjdk 21.0.1 2023-10-17 LTS
OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode)
A DESCRIPTION OF THE PROBLEM :
Methods with same name and different generic type parameter omitted from Method Summary section.
REGRESSION : Last worked in version 8u401
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
in an interface, define two or more methods with same name and different generic type parameter
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Two methods should be listed up on the Method Summary section.
ACTUAL -
Only one is listed.
---------- BEGIN SOURCE ----------
interface Some {
default <T extends Appendable> T append(final T appendable) {
}
default <T extends File> T append(final T file) { // Omitted form the Method Summary section
}
}
---------- END SOURCE ----------
FREQUENCY : always
openjdk 21.0.1 2023-10-17 LTS
OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode)
A DESCRIPTION OF THE PROBLEM :
Methods with same name and different generic type parameter omitted from Method Summary section.
REGRESSION : Last worked in version 8u401
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
in an interface, define two or more methods with same name and different generic type parameter
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Two methods should be listed up on the Method Summary section.
ACTUAL -
Only one is listed.
---------- BEGIN SOURCE ----------
interface Some {
default <T extends Appendable> T append(final T appendable) {
}
default <T extends File> T append(final T file) { // Omitted form the Method Summary section
}
}
---------- END SOURCE ----------
FREQUENCY : always