Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-5
-
None
-
Windows XP, JDK1.5
Description
Consider the following script:
class A {
A()
private void init() { println "A init" }
}
class B extends A {
B() { init() }
private void init()
{ println "B init" }}
println "Creating an A"
def a = new A()
println "Creating a B"
def b = new B()
Output:
Creating an A
A init
Creating a B
A init
A init
The last two should read:
A init
B init
Attachments
Attachments
Issue Links
- is depended upon by
-
GROOVY-1381 new MOP implementation task
- Closed