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.

Bug 103955

Summary: TreeUtilities.pathFor(int) should take long, not int
Product: java Reporter: _ tboudreau <tboudreau>
Component: SourceAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description _ tboudreau 2007-05-15 02:45:23 UTC
TreeUtilities.pathFor(int) should take long to be consistent with return values
from SourcePositions.
Comment 1 _ tboudreau 2007-05-17 20:23:43 UTC
FYI, I think there may be a few other cases in the API where position arguments
are ints not longs.  
Comment 2 Jan Becicka 2007-10-16 09:52:33 UTC
int vs. long is not consistent in com.sun.tools.*. We will fix this issue as soon as com.sun.tools will be consistent.
Comment 3 Dusan Balek 2008-12-09 13:11:24 UTC
Moreover - javax.swing.text.Document (and similar API) operates with ints -> resolve LATER.
Comment 4 Quality Engineering 2009-11-02 11:04:08 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX