mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8190987: Package.getImplementationVersion returns null even if implementation version is non-null
Reviewed-by: mchung, rriggs
This commit is contained in:
parent
56092c76c6
commit
3160d8e270
2 changed files with 111 additions and 1 deletions
|
@ -550,7 +550,8 @@ public class Package extends NamedPackage implements java.lang.reflect.Annotated
|
|||
URL sealbase) {
|
||||
if (spectitle == null && specversion == null &&
|
||||
specvendor == null && impltitle == null &&
|
||||
implvendor == null && sealbase == null) {
|
||||
implversion == null && implvendor == null &&
|
||||
sealbase == null) {
|
||||
return NULL_VERSION_INFO;
|
||||
}
|
||||
return new VersionInfo(spectitle, specversion, specvendor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue