Skip to content

Commit

Permalink
[OPENJDK-3038] echo out Tech Preview warning
Browse files Browse the repository at this point in the history
The jlink feature will initially ship as TP.

https://issues.redhat.com/browse/OPENJDK-3038

Signed-off-by: Jonathan Dowland <[email protected]>
  • Loading branch information
jmtd committed Nov 26, 2024
1 parent 3dd45b2 commit 418b2f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
jlink_techpreview_warning()
{
echo "Jlink integration is a Tech Preview feature."
echo "See <https://access.redhat.com/support/offerings/techpreview/>"
echo "for more information."
}

jlink_preflight_check()
{
# preflight check: do we have what we need?
Expand Down
1 change: 1 addition & 0 deletions modules/s2i/bash/artifacts/usr/local/s2i/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ setup_java_app_and_lib
if [ "$S2I_ENABLE_JLINK" = "true" ]; then

source "${JBOSS_CONTAINER_JAVA_JLINK_MODULE}/preflight.sh"
jlink_techpreview_warning
jlink_preflight_check

source "${JBOSS_CONTAINER_JAVA_JLINK_MODULE}/mkdeps.sh"
Expand Down

0 comments on commit 418b2f4

Please sign in to comment.