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 44803 - JPDABreakpointEvent should not have public ctor
Summary: JPDABreakpointEvent should not have public ctor
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: API
Depends on:
Blocks: 42779
  Show dependency tree
 
Reported: 2004-06-14 09:23 UTC by Tomas Pavek
Modified: 2010-04-29 09:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Pavek 2004-06-14 09:23:47 UTC
JPDABreakpointEvent probably should not have the
public constructor - clients of the API are not
interested in creating this object, they just
receive it.
Comment 1 Jan Jancura 2004-06-16 17:34:07 UTC
I create new instances of this class from different module. So the
only way how to do JPDABreakpointEvent constructor package private is
to create some strange new protected method in JPDADebugger, which is
not veri nice.
=> closing
Comment 2 Tomas Pavek 2004-06-17 10:48:53 UTC
So please at least add some note to the constructor's javadoc that the
class is not intended to be instantiated by the API users. Thx
Comment 3 Jan Jancura 2004-06-21 22:08:20 UTC
Comment has been added.
Comment 4 Quality Engineering 2010-04-29 09:18:00 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.