Update JavaDoc-references to JDK 11

This commit is contained in:
Dominik Stadler 2025-12-02 21:24:24 +01:00
parent 47d0e956b8
commit 236784371b
4 changed files with 4 additions and 4 deletions

View File

@ -208,7 +208,7 @@ subprojects {
addBooleanOption('html5', true)
addBooleanOption('Xdoclint:all,-missing', true)
links 'https://poi.apache.org/apidocs/dev/'
if (jdkVersion >= 23) links 'https://docs.oracle.com/en/java/javase/23/docs/api/' else links 'https://docs.oracle.com/javase/8/docs/api/'
if (jdkVersion >= 23) links 'https://docs.oracle.com/en/java/javase/23/docs/api/' else links 'https://docs.oracle.com/en/java/javase/11/docs/api/'
links 'https://xmlbeans.apache.org/docs/5.0.0/'
links 'https://commons.apache.org/proper/commons-compress/apidocs/'
use = true

View File

@ -216,7 +216,7 @@ javadoc {
options {
addBooleanOption('html5', true)
links 'https://poi.apache.org/apidocs/dev/'
if (jdkVersion >= 23) links 'https://docs.oracle.com/en/java/javase/23/docs/api/' else links 'https://docs.oracle.com/javase/8/docs/api/'
if (jdkVersion >= 23) links 'https://docs.oracle.com/en/java/javase/23/docs/api/' else links 'https://docs.oracle.com/en/java/javase/11/docs/api/'
use = true
splitIndex = true
source = "11"

View File

@ -99,7 +99,7 @@ public class FileBackedDataSource extends DataSource implements Closeable {
}
// TODO Could we do the read-only case with MapMode.PRIVATE instead?
// See https://docs.oracle.com/javase/7/docs/api/java/nio/channels/FileChannel.MapMode.html#PRIVATE
// See https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/channels/FileChannel.MapMode.html
// Or should we have 3 modes instead of the current boolean -
// read-write, read-only, read-to-write-elsewhere?

View File

@ -669,7 +669,7 @@ and
Tomcat is reporting memory leaks caused by some class in Apache POI which uses ThreadLocal
</question>
<answer>
<p>Apache POI uses Java <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ThreadLocal.html">ThreadLocals</a>
<p>Apache POI uses Java <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/ThreadLocal.html">ThreadLocals</a>
in order to cache some data when Apache POI is used in a multi-threading environment (see also the FAQ about thread-safety above!)
</p>
<p>WebServers like Tomcat use thread-pooling to re-use threads to avoid the cost of frequent thread-startup and shutdown.