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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround Java 17 strong encapsulation #58

Merged
merged 2 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.suse</groupId>
<artifactId>subscription-matcher</artifactId>
<version>0.37</version>
<version>0.38</version>

<name>subscription-matcher</name>
<description>Expert system to match SUSE subscriptions to a set of systems</description>
Expand Down
3 changes: 2 additions & 1 deletion utils/subscription-matcher
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function buildClassPath {
}


JAVA_OPTS="-server -Xmx2G --add-opens=java.base/java.lang=ALL-UNNAMED"
EXTRA_ARGS=""

DEPENDENCIES=(
Expand Down Expand Up @@ -77,4 +78,4 @@ if ! CLASSPATH=$(buildClassPath "${DEPENDENCIES[@]}"); then
exit 1
fi

exec java -cp "$CLASSPATH" -server -Xmx2G $EXTRA_ARGS com.suse.matcher.Main "$@"
exec java $JAVA_OPTS -cp "$CLASSPATH" $EXTRA_ARGS com.suse.matcher.Main "$@"
Loading