Commit a855eca
authored
https://togithub.com/oracle/graal/issues/11429 confirms a behavior problem when calling `Object.class.newInstance()`. This is a temporary workaround while the GraalVM team looks into this.
Since `Types` relies on `Class.newInstance()`, we add a concrete case for `java.lang.Object.class` to avoid the mysterious `SerializationSupport$StubForAbstractClass` that comes instead of `Object` in Graal 24 compiled images.
More context and investigation in [tracking doc](https://docs.google.com/document/d/1Ij4nmBNsqY3-2GPEpUoGCptrqlKBfv-XOYjb6ly6UcA/edit?resourcekey=0-KaxXkGPeDJQdN61aeT-s1A&tab=t.7jx3c8lk2lvz).
1 parent 0d17261 commit a855eca
File tree
1 file changed
+6
-0
lines changed- google-http-client/src/main/java/com/google/api/client/util
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
| |||
0 commit comments