Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.8.5, 1.8.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      window 7, Linux

      Description

      class MyInnerClass {
        static int myStaticInt = 3;
      }
      
      return MyInnerClass.myStaticInt;
      

      will return 0

      this works fine for short and long (and everything else). it also works if you have to evaluate the value like 3+1-1.
      this also works in 1.8.4 but not later versions

        Activity

        Travis Hyink created issue -
        Guillaume Delcroix made changes -
        Field Original Value New Value
        Description class MyInnerClass {
          static int myStaticInt = 3;
        }

        return MyInnerClass.myStaticInt;

        will return 0

        this works fine for short and long (and everything else). it also works if you have to evaluate the value like 3+1-1.
        this also works in 1.8.4 but not later versions
        {code}
        class MyInnerClass {
          static int myStaticInt = 3;
        }

        return MyInnerClass.myStaticInt;
        {code}
        will return 0

        this works fine for short and long (and everything else). it also works if you have to evaluate the value like 3+1-1.
        this also works in 1.8.4 but not later versions
        Guillaume Delcroix made changes -
        Component/s GroovyScriptEngine [ 14484 ]
        Guillaume Delcroix made changes -
        Resolution Cannot Reproduce [ 5 ]
        Assignee Guillaume Laforge [ guillaume ]
        Status Open [ 1 ] Resolved [ 5 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12734301 ] Default workflow, editable Closed status [ 12746066 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12971783 ] Default workflow, editable Closed status [ 12979612 ]

          People

          • Assignee:
            Guillaume Delcroix
            Reporter:
            Travis Hyink
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development