Repository navigation
Commit 2bb5fbc
Use the upper bound for out-wildcards in internal names and descriptors
JavaTypeInternalNameVisitor mapped every `out X` wildcard to
java/lang/Object, so values typed `out Parent` were checkcast to Object
and calling Parent's methods on them failed bytecode verification.
JavaTypeDescriptorVisitor recursed into itself instead of the bound.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent ca73b27 commit 2bb5fbc
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments