-
Notifications
You must be signed in to change notification settings - Fork 276
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Programming exercises
: Upgrade Java Blackbox template to java 22
#8388
Programming exercises
: Upgrade Java Blackbox template to java 22
#8388
Conversation
…problems with Java >= 22. Controllable via build plan.
WalkthroughThe changes in this update involve upgrading Java and Maven configurations across different project components to newer versions, enhancing compatibility and potentially improving performance by optimizing Java flags handling during build and test processes. Changes
Possibly related issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
src/main/resources/templates/jenkins/java/blackbox/regularRuns/pipeline.groovy
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on Legacy TS2 works as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in testing session; works as described
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested during testing tession on the legacy ts2, works as expected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested during a testing session on ts2 legacy, works as expected
Checklist
General
Server
The PR only changes a template for a programming exercises. No Changes in the server source code.
Client
The PR only changes a template for a programming exercises. No Changes in the client source code.
Changes affecting Programming Exercises
High priority: I tested all changes and their related features with all corresponding user types on a test server configured with the integrated lifecycle setup (LocalVC and LocalCI).Cannot be tested there, because at the moment only Jenkins supports the exercise taskMAVEN_BLACKBOX
(DejaGnu).Motivation and Context
Update the template of the Java Blackbox DejaGnu exercises to the newest java version to allow the usage of the language features of that version.
Description
Update the template of the Java Blackbox DejaGnu exercises to java 22.
The usage of
java.io.Console
with this java version leads to problems with dejagnu/runtest.Dejagnu/runtest erroneously detects java.io.Console of Java 22 as an interactive terminal, although there is none and only input and output pipes/redirection. Then, dejagnu sends some ANSI control sequence to the "shell" which are not interpreted and simply stored in the output. A quick fix restoring the default behavior of Java 21 for the test execution can be found in 85824ff.
Steps for Testing
Prerequisites:
Client.java
in the "File browser"Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Review Progress
Code Review
Manual Tests
Test Coverage
No changes in Java code.
Summary by CodeRabbit
Summary by CodeRabbit
New Features
javaFlags
variable to improve Java process customization in Jenkins pipelines.Refactor
Bug Fixes