Regression: no
Build found on: JDK1.2P2
Build last worked: Same behavior iin 1.1.5
The debugger will set a random breakpoint on overloaded methods
if the "stop in <classid>.<method> is used.
In the case of overloaded methods we should provide a message
to the user to indicate where the breakpoint was set.
For example:
If you have the following methods in your class:
MyRect buildRect(int x1, int y1, int x2, int y2)
MyRect buildRect(Point topLeft, Point bottomRight)
MyRect buildRect(Point topLeft, int w, int h)
and within JDB do:
stop in MyClass.MyRect
The debugger will randomly pick one of the overloaded methods and set the breakpoint.
- relates to
-
JDK-4101863 Random overloaded method selected by JDB 'stop in' command.
-
- Closed
-