diff --git a/io/src/main/java/org/apache/pdfbox/io/IOUtils.java b/io/src/main/java/org/apache/pdfbox/io/IOUtils.java index d3589f385cf..193f6765903 100644 --- a/io/src/main/java/org/apache/pdfbox/io/IOUtils.java +++ b/io/src/main/java/org/apache/pdfbox/io/IOUtils.java @@ -168,8 +168,8 @@ public static IOException closeAndLogException(Closeable closeable, Logger logge /** * Unmap memory mapped byte buffers. This is a hack waiting for a proper JVM provided solution expected in java 10 - * https://bugs.openjdk.java.net/browse/JDK-4724038 The issue here is that even when closed, memory mapped byte - * buffers hold a lock on the underlying file until GC is executes and this in turns result in an error if the user + * Add unmap method to MappedByteBuffer. The issue here is that even when closed, memory mapped byte + * buffers hold a lock on the underlying file until GC is executing and this in turns result in an error if the user * tries to move or delete the file. * * @param buf the buffer to be unmapped