Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.8-rc-3
-
Fix Version/s: 1.8-rc-4
-
Component/s: None
-
Labels:None
-
Environment:wnidows xp
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
-
Number of attachments :
Description
Following code prints 1 or 2 from time to time I start it. Tried at http://groovyconsole.appspot.com. This code generates error there:
java.lang.NoSuchFieldError: __$stMC
at I1( or I2!!!!!!!!!!!!!!!!!!!!).<clinit>(Script1.groovy)
at Script1.run(Script1.groovy:9)
but error differs from time to time too.
interface I1
{ int VALUE = 1 }interface I2
{ int VALUE = 2 }class C implements I1, I2{
}
println(new C().VALUE)
Issue Links
- relates to
-
GROOVY-4754
Error in implements statement
-
Activity
blackdrag blackdrag
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Jochen Theodorou [ blackdrag ] | |
| Affects Version/s | 1.8-rc-3 [ 17228 ] | |
| Affects Version/s | 1.7.10 [ 17229 ] | |
| Priority | Major [ 3 ] | Blocker [ 1 ] |
blackdrag blackdrag
made changes -
| Link | This issue relates to GROOVY-4754 [ GROOVY-4754 ] |
blackdrag blackdrag
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | 1.8-rc-4 [ 17245 ] | |
| Resolution | Fixed [ 1 ] |
I cloned this issue from GROOVY-4754, because this one is for 1.8 a blocking issue