MCPcopy Create free account
hub / github.com/cloudfoundry/java-buildpack / WriteJavaOpts

Function WriteJavaOpts

src/java/jres/jre.go:334–336  ·  view source on GitHub ↗

WriteJavaOpts writes JAVA_OPTS to a .opts file for centralized assembly JRE components use priority 05 to run early (before frameworks)

(ctx *common.Context, opts string)

Source from the content-addressed store, hash-verified

332// WriteJavaOpts writes JAVA_OPTS to a .opts file for centralized assembly
333// JRE components use priority 05 to run early (before frameworks)
334func WriteJavaOpts(ctx *common.Context, opts string) error {
335 return WriteJavaOptsWithPriority(ctx, 05, "jre", opts)
336}
337
338// WriteJavaOptsWithPriority writes JAVA_OPTS to a numbered .opts file for centralized assembly
339// Priority determines execution order (lower numbers run first)

Callers 4

jre_test.goFile · 0.92
FinalizeMethod · 0.85
FinalizeMethod · 0.85
FinalizeMethod · 0.85

Calls 1

Tested by

no test coverage detected