This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Code: public class RealImage { ... public Pixel getPixel(Point position) { return getPixel(position, pixelRange); } public Pixel getPixel(Point position, double pixelRange) { ... } ... } Profiler's "Live Result": realgraphics.RealImage.getPixel(realgraphics.Point, double) | ... | ... Right-click on it and "Go To Source", it would open RealImage.java but the cursor would be at getPixel(Point) instead.
I was able to reproduce, thanks for the report. Will fix in M9
This bug can occur when showing source of any innerclass or anonymous class. Fixed for M11.
I'm able to reproduce it in profiler 5.5 20030330. There are two methods with the same name but different parameter's type. One is called from another: protected void update(TextData data) { ... HashSet<String> wordsset=new HashSet(); update(wordsset); } protected void update(HashSet<String> wordsset) { ... Go to source always goes to the first method.
This is different case. Next time please file separate issue. I did it for you. See issue #74242.
Closing old issues