Commit ae0f123
Remove JDK 8 compatibility code from OAL V2
OAP server requires JDK 11+, so JDK 8 compatibility code is unnecessary.
- Remove SystemUtils.isJavaVersionAtMost checks in OALClassGeneratorV2
- Remove unused currentClassLoader field and setter
- Update OALEngineV2 and tests to remove setCurrentClassLoader calls
- Remove JavaVersion and SystemUtils imports
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 1f2f838 commit ae0f123
File tree
4 files changed
+3
-25
lines changed- oap-server/oal-rt/src
- main/java/org/apache/skywalking/oal/v2
- generator
- test/java/org/apache/skywalking/oal/v2/generator
4 files changed
+3
-25
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
| |||
Lines changed: 3 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | 50 | | |
53 | 51 | | |
54 | 52 | | |
| |||
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
103 | | - | |
104 | 101 | | |
105 | 102 | | |
106 | 103 | | |
| |||
282 | 279 | | |
283 | 280 | | |
284 | 281 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
| 282 | + | |
290 | 283 | | |
291 | 284 | | |
292 | 285 | | |
| |||
337 | 330 | | |
338 | 331 | | |
339 | 332 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
| 333 | + | |
345 | 334 | | |
346 | 335 | | |
347 | 336 | | |
| |||
408 | 397 | | |
409 | 398 | | |
410 | 399 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
| 400 | + | |
416 | 401 | | |
417 | 402 | | |
418 | 403 | | |
| |||
488 | 473 | | |
489 | 474 | | |
490 | 475 | | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | 476 | | |
496 | 477 | | |
497 | 478 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | 423 | | |
425 | 424 | | |
426 | 425 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
282 | 281 | | |
283 | 282 | | |
284 | 283 | | |
| |||
0 commit comments