Skip to content

Commit d7d7076

Browse files
authored
Make Java 8 the minimum version of Java (semver major jump to v21) (#171)
Signed-off-by: Jesse Gorzinski <[email protected]>
1 parent 392aa62 commit d7d7076

21 files changed

+233
-466
lines changed

.github/workflows/maven.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ jobs:
4747
- name: Set up JDK 17
4848
uses: actions/setup-java@v4
4949
with:
50-
java-version: '17'
50+
java-version: '21'
5151
distribution: 'temurin'
5252
cache: maven
5353
- name: Clean target
5454
run: rm -r target
55-
- name: Build with Maven (Java 17)
55+
- name: Build with Maven (Java 21)
5656
run: mvn -B package --file pom.xml
5757
- name: Upload dist artifacts
5858
uses: actions/upload-artifact@v4

build/Jdbc42Task.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ private void createJdbc42File(String filename) throws BuildException {
331331
}
332332
break;
333333
}
334-
writer.println(line);
334+
writer.print(line+"\n");
335335
line = reader.readLine();
336336
}
337337
writer.close();

docs/MAJOR_CHANGES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ earlier code streams. Key differences include:
1414
In summary, JTOpen versions now consist of three digits, `x.y.z`.
1515
This provides differentiation between bug fixes, new features, and breaking changes.
1616

17-
1. Java 7 or later is required (**breaking change**).
17+
1. Java 7 or later is required for version 20.x, and Java 8 or later is required for version 21.x (**breaking change**).
1818

1919
1. Function signatures may be changed from previous versions, in an effort to add typesafety. Version
2020
20 will remain source-compatible, but may have binary incompatibility (**breaking change**).

docs/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
# JTOpen, the Java library for IBM i
33

4+
45
JTOpen is the open source software product known as the "IBM Toolbox for Java." It is also commonly
56
referred to "jt400" or simply "the toolbox."
67
In short, this package provides a set of Java classes that enable applications to integrate with IBM i.
@@ -14,7 +15,8 @@ This includes, but is not limited to:
1415

1516
JTOpen is the open source counterpart to a version of the IBM Toolbox for Java that is delivered as part of the 5770-SS1 Licensed Program Product (LPP).
1617

17-
Please consult [the "major changes" documentation](MAJOR_CHANGES.md) to see if any major changes impact you!
18+
Please see the documentation [here](https://ibm.github.io/JTOpen/). In particular,
19+
Please consult [the "major changes" documentation](https://ibm.github.io/JTOpen/#/MAJOR_CHANGES) to see if any major changes impact you!
1820

1921
## How to provide feedback or contribute
2022

0 commit comments

Comments
 (0)