Closed
Bug 86603
Opened 24 years ago
Closed 7 years ago
BERBitString(BitSet value) {} intialisized not all parameters
Categories
(Directory Graveyard :: LDAP Java SDK, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: Bernd.Kunze, Assigned: erhyuan)
References
Details
Attachments
(1 file)
|
580 bytes,
patch
|
Details | Diff | Splinter Review |
In
package netscape.ldap.ber.stream;
public class BERBitString extends BERElement {
...
public BERBitString(BitSet value) {
m_value = value;
}
...
}
I miss the initialisation of the parameter "m_value_num_bits".
It should be like:
public BERBitString(BitSet value) {
m_value = value;
m_value_num_bits = m_value.size();
}
Comment 1•24 years ago
|
||
Reassigned to Miodrag (Java LDAP SDK lead engineer).
Assignee: mcs → miodrag
Comment 3•22 years ago
|
||
Created patch file.
Updated•22 years ago
|
Attachment #111292 -
Flags: review?(miodrag)
Updated•22 years ago
|
Attachment #111292 -
Flags: review?(miodrag) → review?(mcs)
Comment 4•22 years ago
|
||
Comment on attachment 111292 [details] [diff] [review]
Patch, v1
Miodrag should be the one to review this....
Attachment #111292 -
Flags: review?(mcs) → review?(miodrag)
Comment 5•21 years ago
|
||
Bernd.Kunze: You need someone else for reviewing this patch, miodrag isn't
working on Mozilla anymore (former Netscape). The patch hasn't bitrottened so,
so it can be reviewed.
Comment 6•21 years ago
|
||
Reassign LDAP JDK bugs owned by Miodrag (miodrag@formerly-netscape.com.tld) to
E-Y (erhyuan@pacbell.net)
Assignee: miodrag → erhyuan
Comment 7•21 years ago
|
||
Comment on attachment 111292 [details] [diff] [review]
Patch, v1
removing [very] old review request, please re-request from someone if
applicable.
If you need to contact me specifically please add |Callek| to CC
Attachment #111292 -
Flags: review?(miodrag)
Updated•21 years ago
|
Attachment #111292 -
Flags: review?(erhyuan)
| Assignee | ||
Comment 8•21 years ago
|
||
The comments above that suggested not to use BitSet.size().
* This class is for the BitString object. Note that the BitSet class
* has a bug: size() returns the size of the internal allocated memory
* rather than the number of bits. Current work-around is to maintain
* the number of bits ourselves in m_value_num_bits.
* Change is required when BitSet is fixed.
Updated•17 years ago
|
Attachment #111292 -
Flags: review?(erhyuan)
Comment 9•7 years ago
|
||
Not activity for at least 6 years, closing.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•