mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-26 02:00:12 +00:00
8166735: JarFile#getVersion spec clarification for unversioned jars
Reviewed-by: mchung, alanb
This commit is contained in:
parent
060ce7c739
commit
e7fe2a82ca
@ -339,6 +339,10 @@ class JarFile extends ZipFile {
|
||||
|
||||
/**
|
||||
* Returns the maximum version used when searching for versioned entries.
|
||||
* <p>
|
||||
* If this {@code JarFile} is not a multi-release jar file or is not
|
||||
* configured to be processed as such, then the version returned will be the
|
||||
* same as that returned from {@link #baseVersion()}.
|
||||
*
|
||||
* @return the maximum version
|
||||
* @since 9
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user