Fix outdated RandomAccessJarFile documentation
Fixes gh-2598
This commit is contained in:
parent
4c50c9eaa8
commit
90bff0b603
|
|
@ -124,9 +124,9 @@ need to read all entry data into memory.
|
||||||
==== Compatibility with the standard Java "`JarFile`"
|
==== Compatibility with the standard Java "`JarFile`"
|
||||||
Spring Boot Loader strives to remain compatible with existing code and libraries.
|
Spring Boot Loader strives to remain compatible with existing code and libraries.
|
||||||
`org.springframework.boot.loader.jar.JarFile` extends from `java.util.jar.JarFile` and
|
`org.springframework.boot.loader.jar.JarFile` extends from `java.util.jar.JarFile` and
|
||||||
should work as a drop-in replacement. The `RandomAccessJarFile.getURL()` method will
|
should work as a drop-in replacement. The `getURL()` method will return a `URL` that
|
||||||
return a `URL` that opens a `java.net.JarURLConnection` compatible connection.
|
opens a `java.net.JarURLConnection` compatible connection and can be used with Java's
|
||||||
`RandomAccessJarFile` URLs can be used with Java's `URLClassLoader`.
|
`URLClassLoader`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue