(ctx *common.Context, jreName, jreKey string, dirPrefixes, dirExacts []string, installErrNote string)
| 31 | } |
| 32 | |
| 33 | func newBaseJRE(ctx *common.Context, jreName, jreKey string, dirPrefixes, dirExacts []string, installErrNote string) BaseJRE { |
| 34 | return BaseJRE{ |
| 35 | ctx: ctx, |
| 36 | jreDir: filepath.Join(ctx.Stager.DepDir(), "jre"), |
| 37 | jreName: jreName, |
| 38 | jreKey: jreKey, |
| 39 | dirPrefixes: dirPrefixes, |
| 40 | dirExacts: dirExacts, |
| 41 | installErrNote: installErrNote, |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | func (b *BaseJRE) Name() string { |
| 46 | return b.jreName |
no test coverage detected