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

Method SetDefault

src/java/jres/jre.go:74–76  ·  view source on GitHub ↗

SetDefault sets the default JRE to use when no JRE is explicitly configured

(jre JRE)

Source from the content-addressed store, hash-verified

72
73// SetDefault sets the default JRE to use when no JRE is explicitly configured
74func (r *Registry) SetDefault(jre JRE) {
75 r.defaultJRE = jre
76}
77
78// RegisterStandardJREs registers all standard JRE providers in the correct priority order.
79// This ensures Supply and Finalize phases use the same detection order.

Callers 2

RegisterStandardJREsMethod · 0.95
jre_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected