    1   package groovy.bugs;
    2
    3   import java.util.HashMap ;
    4   /***
    5    * Class to support the GROOVY-662 test.  There is a difference between improper uses of
    6    * properties between Groovy defined classes and Java defined classes.  There is no difference
    7    * between correct uses so this is not a problem just an anti-regression test.
    8    *
    9    *  @author Russel Winder
    10   *  @version $Revision: 1.2 $
    11   */
    12  public class Groovy662_JavaClass extends HashMap {
    13    String myProperty = "Hello" ;
    14    public String getMyProperty() { return myProperty ; }
    15  }