Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP - DO NOT MERGE] Add CI/CD for Java {8, 11, 17, 18} x {HotSpot, OpenJ9}, fix tests #2704

Closed
wants to merge 5 commits into from

Conversation

jord1e
Copy link
Contributor

@jord1e jord1e commented Jan 31, 2022

Closes #2676

馃毀 WIP - DO NOT MERGE

Fixed:
- Generic warnings introduced in Java 9 when using `Stream#of` is used in combination with `Function.identity()`, probably caused by JEP 215 "Tiered Attribution for javac"
- Java 13 introduced `String#stripIndent`, which conflicted with Groovy itself, see apache/groovy#1139, the errors were probably caused by whitespace indentation which was handled differently
- Resolved compiler warning about missing `@Deprecated` on deprecated `ExecutionStepInfo#getFieldContainer` method (JDK 9/JEP 277 "Enhanced Deprecation")
- The wrong `BigInteger` constructor was being used in `ScalarIntTest.groovy` and `ScalarFloatTest.groovy`

Not yet fixed:
- Java 16 modified LineNumberReader#getLineNumber behavior (see JDK-8241020) which messed up MultiSourceReader

Links:
- apache/groovy#1139
- https://bugs.openjdk.java.net/browse/JDK-8241020
- https://github.com/openjdk/jdk/commits/master/src/java.base/share/classes/java/io/LineNumberReader.java
@andimarek
Copy link
Member

quick general feedback: please create seperate PRs for different kind of things. For example if we need to update some libraries, lets do that in another PRs, etc.

thanks a lot

@jord1e
Copy link
Contributor Author

jord1e commented Jan 31, 2022

quick general feedback: please create seperate PRs for different kind of things. For example if we need to update some libraries, lets do that in another PRs, etc.

thanks a lot

Will do

@jord1e
Copy link
Contributor Author

jord1e commented Jan 31, 2022

Closing whilst I am working in jord1e#1

@jord1e jord1e closed this Jan 31, 2022
@jord1e
Copy link
Contributor Author

jord1e commented Apr 9, 2022

Superseded by #2789

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run CI on more recent Java versions and different runtimes
2 participants