Commit 8e2dd59
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 082ff90 commit 8e2dd59
File tree
1 file changed
+4
-0
lines changed- integration-test/src/test/java/org/cloudfoundry
1 file changed
+4
-0
lines changedLines 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