Commit 7f86a88
committed
Fix spring-ai plugin: replace Map.of() with JDK 8 API, reset maven.compiler.release
- Replace Map.of() (JDK 9+) with LinkedHashMap in InputMessages.java
- Set <maven.compiler.release /> to cancel parent's --release 8, allowing
the compiler to resolve java.lang.Record from provided Spring AI classes
- Add spring-ai-1.x-plugin to compiler override allowlist1 parent 17f3da9 commit 7f86a88
3 files changed
Lines changed: 13 additions & 1 deletion
File tree
- apm-sniffer/apm-sdk-plugin/spring-plugins/spring-ai-1.x-plugin
- src/main/java/org/apache/skywalking/apm/plugin/spring/ai/v1/messages
- tools/plugin
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
268 | 271 | | |
269 | 272 | | |
270 | 273 | | |
| 274 | + | |
271 | 275 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments