Skip to content

Commit ac8341a

Browse files
committed
Update all javadoc and spec links to 25 #137
1 parent 642f300 commit ac8341a

File tree

13 files changed

+15
-15
lines changed

13 files changed

+15
-15
lines changed

src/annotations/elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ class PersonInCharge {}
6363
}
6464
```
6565

66-
[^fulllist]: You can find the full list [here](https://docs.oracle.com/javase/specs/jls/se23/html/jls-9.html#jls-9.6). It is a short list.
66+
[^fulllist]: You can find the full list [here](https://docs.oracle.com/javase/specs/jls/se25/html/jls-9.html#jls-9.6). It is a short list.

src/class_extension/challenges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Main {
3939
## Challenge 2.
4040

4141
Rewrite your `Tree` class from above to instead extend `AbstractList<Apple>`.
42-
You can find the documentation for `AbstractList` [here](https://docs.oracle.com/javase/8/docs/api/java/util/AbstractList.html).
42+
You can find the documentation for `AbstractList` [here](https://docs.oracle.com/javase/25/docs/api/java/util/AbstractList.html).
4343

4444
## Challenge 3.
4545

src/conclusion/what_now.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ to in order to render websites.
117117
There are a lot of tools for this in Java. A lot a lot. I would recommend
118118
starting with the one that comes built-in: the `jdk.httpserver` module.
119119

120-
[Docs for `jdk.httpserver` here](https://docs.oracle.com/en/java/javase/24/docs/api/jdk.httpserver/module-summary.html)
120+
[Docs for `jdk.httpserver` here](https://docs.oracle.com/en/java/javase/25/docs/api/jdk.httpserver/module-summary.html)
121121

122122
Then you will need to learn about SQL databases and how to query from/insert into them from Java.
123123

@@ -147,7 +147,7 @@ two paths.
147147
Path #1 is to learn Java Swing. This is an old crusty GUI framework that is kinda difficult to use
148148
but has the pro of coming with Java and being able to run on every potato in existence.
149149

150-
[Docs for `java.desktop` (Swing) here](https://docs.oracle.com/en/java/javase/24/docs/api/java.desktop/module-summary.html)
150+
[Docs for `java.desktop` (Swing) here](https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/module-summary.html)
151151

152152
Path #2 is the learn JavaFX. By all accounts JavaFX is better software than Swing, but it was cursed
153153
by coming out at a point in history where desktop apps were no longer big business to develop. It

src/documentation/challenges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ Fix these by documenting that code enough that `javadoc` no longer gives you war
1919

2020
## Challenge 3.
2121

22-
Read the [documentation for java.util.StringJoiner](https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/util/StringJoiner.html).
22+
Read the [documentation for java.util.StringJoiner](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/StringJoiner.html).
2323

2424
If you can, alter one of your projects to use it.

src/documentation/javadoc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ javadoc \
1717
This will produce a directory full of HTML files that contain all
1818
the documentation from the specified modules.
1919

20-
This is what is used to make [the official Java documenation](https://docs.oracle.com/en/java/javase/24/docs/api/index.html) as well as at least part of the documentation for most Java libraries.
20+
This is what is used to make [the official Java documenation](https://docs.oracle.com/en/java/javase/25/docs/api/index.html) as well as at least part of the documentation for most Java libraries.
2121

2222
[^theme]: As is a theme with command-line tools

src/hash_maps/challenges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class Main {
9090
```
9191

9292
If you feel like this is hard to do with just `.put` and `.get`, you can
93-
check for [other methods on HashMap that can help you](https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/util/HashMap.html).
93+
check for [other methods on HashMap that can help you](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/HashMap.html).
9494

9595
## Challenge 3.
9696

src/loops_iii/for_each_loops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ for (Bread bread : breads) {
3535
```
3636

3737

38-
[^enhanced]: You might see this referred to as an "enhanced for statement." [That is its name in the language spec](https://docs.oracle.com/javase/specs/jls/se23/html/jls-14.html#jls-14.14.2) but not the name most people will use.
38+
[^enhanced]: You might see this referred to as an "enhanced for statement." [That is its name in the language spec](https://docs.oracle.com/javase/specs/jls/se25/html/jls-14.html#jls-14.14.2) but not the name most people will use.

src/loops_iii/iterable_and_iterator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
For things that are not arrays, a for-each loops
44
are built on top of two interfaces: `java.lang.Iterable` and `java.lang.Iterator`.
55

6-
The [`Iterator`](https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/util/Iterator.html) interface defines two methods: `hasNext` and `next`[^remove]. Iterators let you box up the logic of
6+
The [`Iterator`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Iterator.html) interface defines two methods: `hasNext` and `next`[^remove]. Iterators let you box up the logic of
77
how to loop over something.
88

99
```java,no_run
@@ -17,7 +17,7 @@ public interface Iterator<T> {
1717
}
1818
```
1919

20-
[`Iterable`](https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/util/Iterable.html) then
20+
[`Iterable`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Iterable.html) then
2121
just has one method which gives you an `Iterator`.
2222

2323
```java,no_run

src/packages/challenges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This will require marking the classes and many of the methods within `public`.
2828

2929
## Challenge 3.
3030

31-
Read through [the list of packages that come with Java](https://docs.oracle.com/en/java/javase/24/docs/api/java.base/module-summary.html). You don't need to understand everything you are looking at; just
31+
Read through [the list of packages that come with Java](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/module-summary.html). You don't need to understand everything you are looking at; just
3232
browse and try to find at least one class that interests you.
3333

3434
Import that class and try to use it.

src/reflection/challenges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ as input and returns if the name of the underlying
1212
class for that `Object` starts with a vowel.
1313

1414
You might need to consult the documentation
15-
for [Class](https://docs.oracle.com/en/java/javase/24/docs/api/index.html).
15+
for [Class](https://docs.oracle.com/en/java/javase/25/docs/api/index.html).
1616

1717
```java,editable
1818
class Apple {}

0 commit comments

Comments
 (0)