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

Method finalizeJRE

src/java/finalize/finalize.go:156–165  ·  view source on GitHub ↗

finalizeJRE finalizes the JRE configuration (memory calculator, jvmkill, etc.)

()

Source from the content-addressed store, hash-verified

154
155// finalizeJRE finalizes the JRE configuration (memory calculator, jvmkill, etc.)
156func (f *Finalizer) finalizeJRE() error {
157 f.Log.BeginStep("Finalizing JRE: %s", f.JREName)
158
159 if err := f.JRE.Finalize(); err != nil {
160 return fmt.Errorf("failed to finalize JRE %s: %w", f.JREName, err)
161 }
162
163 f.Log.Debug("JRE finalization complete")
164 return nil
165}
166
167// finalizeFrameworks finalizes framework components (APM agents, etc.)
168func (f *Finalizer) finalizeFrameworks(ctx *common.Context) error {

Callers 1

RunFunction · 0.80

Calls 1

FinalizeMethod · 0.65

Tested by

no test coverage detected