Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.7.4
-
Fix Version/s: None
-
Component/s: Stub generator / Joint compiler
-
Labels:None
-
Number of attachments :
Description
The Groovy Stub generator does not add a .class extension for Class usages in annotations. For example, generating stubs for the following doesn't work:
@Test(expected = IllegalArgumentException)
void shouldFailOnDifferentCurrencies() {
// impl
}
For more information, see GMAVEN-79
Issue Links
- is depended upon by
-
GMAVEN-79
Cannot use @Test(expected=...) without .class suffix
-
- is duplicated by
-
GROOVY-4517
Java stub generator does not set correct value for annotations that expect a Class as a value
-
Activity
Guillaume Laforge
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Component/s | Stub generator / Joint compiler [ 14523 ] | |
| Component/s | class generator [ 10443 ] |
Keegan Witt
made changes -
Guillaume Laforge
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | blackdrag blackdrag [ blackdrag ] | Guillaume Laforge [ guillaume ] |
| Resolution | Duplicate [ 3 ] |
Guillaume Laforge
made changes -
| Link |
This issue is duplicated by |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |