Skip to content

Commit 90bff0b

Browse files
committed
Fix outdated RandomAccessJarFile documentation
Fixes gh-2598
1 parent 4c50c9e commit 90bff0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ need to read all entry data into memory.
124124
==== Compatibility with the standard Java "`JarFile`"
125125
Spring Boot Loader strives to remain compatible with existing code and libraries.
126126
`org.springframework.boot.loader.jar.JarFile` extends from `java.util.jar.JarFile` and
127-
should work as a drop-in replacement. The `RandomAccessJarFile.getURL()` method will
128-
return a `URL` that opens a `java.net.JarURLConnection` compatible connection.
129-
`RandomAccessJarFile` URLs can be used with Java's `URLClassLoader`.
127+
should work as a drop-in replacement. The `getURL()` method will return a `URL` that
128+
opens a `java.net.JarURLConnection` compatible connection and can be used with Java's
129+
`URLClassLoader`.
130130

131131

132132

0 commit comments

Comments
 (0)