Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker 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)

      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

          Activity

          Gunchin Aleksey created issue -
          Hide
          Jochen Theodorou added a comment - - edited

          I cloned this issue from GROOVY-4754, because this one is for 1.8 a blocking issue

          Show
          Jochen Theodorou added a comment - - edited I cloned this issue from GROOVY-4754 , because this one is for 1.8 a blocking issue
          Jochen Theodorou made changes -
          Field Original Value New Value
          Affects Version/s 1.7.10 [ 17229 ]
          Affects Version/s 1.8-rc-3 [ 17228 ]
          Priority Major [ 3 ] Blocker [ 1 ]
          Assignee Jochen Theodorou [ blackdrag ]
          Jochen Theodorou made changes -
          Link This issue relates to GROOVY-4754 [ GROOVY-4754 ]
          Hide
          Jochen Theodorou added a comment -

          I disabled the optimizations for interfaces, so this field no longer appears there adn the error will not surface anymore

          Show
          Jochen Theodorou added a comment - I disabled the optimizations for interfaces, so this field no longer appears there adn the error will not surface anymore
          Jochen Theodorou made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 1.8-rc-4 [ 17245 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
          Mark Thomas made changes -
          Workflow jira [ 12733684 ] Default workflow, editable Closed status [ 12745506 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
          Mark Thomas made changes -
          Workflow jira [ 12971215 ] Default workflow, editable Closed status [ 12978995 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          5d 21m 1 Jochen Theodorou 07/Apr/11 11:54

            People

            • Assignee:
              Jochen Theodorou
              Reporter:
              Gunchin Aleksey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development