-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add JDK 22 support * bump patch version * removed exit added for debugging * added one condition before changing the JDK_DISTRO * version set to 21 and jdk_distro open fixed * failed test cases fixed * fixing install_type issue if not java * yum update with epel-release install * explicit test case writen to validate jdk 22 works fine * moved check_packages to the start * INSTALL_CMD moved to start * variable changed
- Loading branch information
1 parent
0be7941
commit 5077a2c
Showing
4 changed files
with
108 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Optional: Import test library | ||
source dev-container-features-test-lib | ||
|
||
echo 'public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }' > HelloWorld.java | ||
javac HelloWorld.java | ||
|
||
check "hello world" /bin/bash -c "java HelloWorld | grep "Hello, World!"" | ||
check "java version latest installed" grep "22.0.2" <(java --version) | ||
|
||
# Report result | ||
reportResults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5077a2c
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.
@prathameshzarkar9 This commit breaks .devcontainer build on certain machines, see the reported issue and log in #1134 and also I have repro'd on my machine.