Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6850783
Votes 0
Synopsis InvalidityDateExtension returns reference to internal mutable state
Category java:classes_security
Reported Against
Release Fixed 7(b64)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 12-JUN-2009
Description
In Bill Pugh's talk at JavaOne 2009 be used sun.security.x509.InvalidityDateExtension#get(String) as an example of code that returned a reference to its internal mutate state. This one should be examined as I assume it was originally intended to returned a clone of the date.
Posted Date : 2009-06-12 16:47:27.0
Work Around
N/A
Evaluation
should return a cloned object instead of a referenced object
Posted Date : 2009-06-16 12:58:42.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang