Is there some kind of bug when you have the same method name exposed
multiple times with different signatures????

For example:
pubic class foo {
public void subscribe(String a,String b,String c) { subscribe(a,b,c,new
java.util.Date()); }
public void subscribe(String a,String b,String c, java.util.Date dt) {
subscribe(a,b,c,dt, dflt_int_val); }
public void subscribe(String a,String b,String c, java.util.Date dt, int
threshold) { ..... }
}


I'm getting a runtime error about NullPointerException business...

I have corrected the problem by making the second two 'subscribe' methods
private and renamed to subscribe1(), subscribe2().

Anyone have some ideas on this issue?

My client code is always calling the first subscribe method (three
args)...so my hack works...but it is not how I wanted to implement...

-mt


Reply via email to