Commit 07e7628
committed
fix: default to Java 17 when release file is missing
The DetermineJavaVersion function now returns Java 17 as the default
version when the JRE release file is not found, instead of returning
an error. This provides a sensible fallback behavior aligned with
the buildpack's default JRE version.
Fixes test: JRE Helper Functions -> DetermineJavaVersion -> defaults to 17 when release file is missing
All 294 specs now passing.1 parent 2969eae commit 07e7628
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
0 commit comments