Commit 90bff0b6 authored by Phillip Webb's avatar Phillip Webb

Fix outdated RandomAccessJarFile documentation

Fixes gh-2598
parent 4c50c9ea
...@@ -124,9 +124,9 @@ need to read all entry data into memory. ...@@ -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`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment