Commit acaa36e
committed
Test that EclipseHelper does not serialize default values
The switch to reading annotations directly from .class files in the
EclipseHelper fixed a subtle bug: default values for annotation
parameters must not be serialized into the annotation index, but instead
be inferred at runtime (in case the default values in the annotation
class itself changed).
Keep this bug fixed by testing for it in the unit tests.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent d56fc95 commit acaa36e
1 file changed
Lines changed: 12 additions & 0 deletions
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
94 | 106 | | |
95 | 107 | | |
96 | 108 | | |
| |||
0 commit comments