Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.2
-
Fix Version/s: None
-
Component/s: stub generation
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
I have a test, which looks like this:
@Test(expected = IllegalArgumentException)
void shouldFailOnDifferentCurrencies() {
// impl
}
This results in the following error message when using the GMaven-1.2 stub compiler:
symbol : variable IllegalArgumentException location: class com.nidera.softmar.abw.gl.preprocessor.MultiCurrencyPreprocessorTest
In my IDE (IntelliJ 9.0.3) this works however, which leads me to believe this is quite valid. Adding a .class suffix to the expected class fixes this, but I guess that this is an issue in the stub generation.
Issue Links
- depends upon
-
GROOVY-4354
Stub Generator does not add .class for classes in annotations
-