You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[OPENJDK-2009] Move JAVA_OPTIONS specification to s2i/bash module
JAVA_OPTIONS is an old deprecated variable that was replaced by
JAVA_OPTS. If JAVA_OPTS is unset, but JAVA_OPTIONS set, it should
be used to populate JAVA_OPTS, for the images that support it.
The definition of JAVA_OPTIONS was in modules/jvm/api, but the
implementation is in modules/s2i/bash. The former module is included
by the runtime images, that don't use the latter; thus, at the moment
documentation for the runtime images includes JAVA_OPTIONS but they
have never supported it.
Move the definition of JAVA_OPTIONS into the module that implements
it. This removes the definition/documentation from the runtime images.
Rework the descriptions.
Signed-off-by: Jonathan Dowland <[email protected]>
Copy file name to clipboardExpand all lines: modules/jvm/api/module.yaml
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
schema_version: 1
2
+
2
3
name: jboss.container.java.jvm.api
3
4
version: '1.0'
4
5
description: ^
@@ -16,7 +17,6 @@ envs:
16
17
description: User specified Java options to be appended to the generated options.
17
18
This variable has no effect if `JAVA_OPTS` has been defined.
18
19
example: "-Dsome.property=foo"
19
-
example: "-Dsome.property=foo"
20
20
- name: JAVA_MAX_MEM_RATIO
21
21
description:
22
22
Specify the maximum heap memory. Corresponds to the JVM argument
@@ -73,8 +73,3 @@ envs:
73
73
- name: GC_CONTAINER_OPTIONS
74
74
description: specify Java GC to use. The value of this variable should contain the necessary JRE command-line options to specify the required GC, which will override the default of `-XX:+UseParallelGC`.
75
75
example: -XX:+UseG1GC
76
-
# deprecated
77
-
- name: JAVA_OPTIONS
78
-
description: JVM options passed to the `java` command. Use **JAVA_OPTS**.
0 commit comments