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.
TreeUtilities.pathFor(int) should take long to be consistent with return values from SourcePositions.
FYI, I think there may be a few other cases in the API where position arguments are ints not longs.
int vs. long is not consistent in com.sun.tools.*. We will fix this issue as soon as com.sun.tools will be consistent.
Moreover - javax.swing.text.Document (and similar API) operates with ints -> resolve LATER.
NetBeans.org Migration: changing resolution from LATER to WONTFIX