Commit 151b85b
fix(amazonq): make sure target JDK version is defined (#6569)
## Problem
Due to Java 21 support coming out, the target JDK version was no longer
hardcoded as JDK17. So for SQL conversions, the target JDK was
`undefined` and the `startJob` API was failing.
## Solution
Hardcode JDK17 as a dummy target JDK so that we don't encounter an
invalid request exception.
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
Co-authored-by: David Hasani <[email protected]>1 parent 7d5a339 commit 151b85b
File tree
1 file changed
+3
-2
lines changed- packages/core/src/codewhisperer/commands
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
0 commit comments