Commit ef0f69e
committed
Fix test-service-broker crash on JDK 17 by adding --add-opens flags
The test-service-broker.jar (Spring Boot 1.5.16 / Spring Framework
4.3.19) uses CGLIB proxying which requires reflective access to
java.lang.ClassLoader.defineClass(). JDK 17's module system blocks
this, causing the app to crash on startup with
InaccessibleObjectException and all ApplicationsTest methods to fail
with DelayTimeoutException during serviceBrokerId bean creation.1 parent a8f7c09 commit ef0f69e
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| |||
0 commit comments