Skip to content

Commit e645f4e

Browse files
committed
Fix javadoc links to include module
See gh-41614
1 parent 924ea70 commit e645f4e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

buildSrc/src/main/java/org/springframework/boot/build/antora/AntoraAsciidocAttributes.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -203,16 +203,16 @@ private void addArtifactAttributes(Map<String, String> attributes) {
203203

204204
private void addUrlJava(Map<String, String> attributes) {
205205
attributes.put("url-javase-javadoc", "https://docs.oracle.com/en/java/javase/17/docs/api/");
206-
attributes.put("javadoc-location-java-beans", "{url-javase-javadoc}");
207-
attributes.put("javadoc-location-java-lang", "{url-javase-javadoc}");
208-
attributes.put("javadoc-location-java-net", "{url-javase-javadoc}");
209-
attributes.put("javadoc-location-java-io", "{url-javase-javadoc}");
210-
attributes.put("javadoc-location-java-time", "{url-javase-javadoc}");
211-
attributes.put("javadoc-location-java-util", "{url-javase-javadoc}");
212-
attributes.put("javadoc-location-javax-management", "{url-javase-javadoc}");
213-
attributes.put("javadoc-location-javax-net", "{url-javase-javadoc}");
214-
attributes.put("javadoc-location-javax-sql", "{url-javase-javadoc}");
215-
attributes.put("javadoc-location-javax-xml", "{url-javase-javadoc}");
206+
attributes.put("javadoc-location-java-beans", "{url-javase-javadoc}/java.desktop");
207+
attributes.put("javadoc-location-java-lang", "{url-javase-javadoc}/java.base");
208+
attributes.put("javadoc-location-java-net", "{url-javase-javadoc}/java.base");
209+
attributes.put("javadoc-location-java-io", "{url-javase-javadoc}/java.base");
210+
attributes.put("javadoc-location-java-time", "{url-javase-javadoc}/java.base");
211+
attributes.put("javadoc-location-java-util", "{url-javase-javadoc}/java.base");
212+
attributes.put("javadoc-location-javax-management", "{url-javase-javadoc}/java.management");
213+
attributes.put("javadoc-location-javax-net", "{url-javase-javadoc}/java.base");
214+
attributes.put("javadoc-location-javax-sql", "{url-javase-javadoc}/java.sql");
215+
attributes.put("javadoc-location-javax-xml", "{url-javase-javadoc}/java.xml");
216216
}
217217

218218
private void addUrlLibraryLinkAttributes(Map<String, String> attributes) {

0 commit comments

Comments
 (0)