Message4526
I fear it's more complex than this.
If I change my example to:
package somepackage;
public class Banana {
public void amethod() {}
public void amethod(int x, int y) {}
// added this method
public void bmethod(){}
}
---
and:
package somepackage;
public class Pear extends Banana {
public void amethod(int x, int y)
{
}
}
---
then Pear().bmethod() works as expected (even though
Pear.class.getDeclaredMethods() will not contain a bmethod). Had it not
worked I would have seen this bug immediately (I have a lot of code that
runs with respectJavaAccessibility=false). |
|
Date |
User |
Action |
Args |
2009-04-17 15:47:05 | marcdownie | set | messageid: <1239983225.81.0.710361700713.issue1285@psf.upfronthosting.co.za> |
2009-04-17 15:47:05 | marcdownie | set | recipients:
+ marcdownie, cgroves, fwierzbicki, zyasoft, kfitch42 |
2009-04-17 15:47:05 | marcdownie | link | issue1285 messages |
2009-04-17 15:47:05 | marcdownie | create | |
|