Skip to content

Commit bdef75d

Browse files
committed
Add JVM flags using the preformatted option instead of as system property
1 parent 8c79617 commit bdef75d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/java_buildpack/framework/takipi_agent.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ def update_java9
105105
return unless @droplet.java_home.java_9_or_later?
106106

107107
@droplet.java_opts
108-
.add_system_property('-Xshare:off')
109-
.add_system_property('-XX:-UseTypeSpeculation')
108+
.add_preformatted_options('-Xshare:off')
109+
.add_preformatted_options('-XX:-UseTypeSpeculation')
110110
end
111111

112112
end

0 commit comments

Comments
 (0)