United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4235519 Make sun.misc.BASE64{De,En}coder classes public
4235519 : Make sun.misc.BASE64{De,En}coder classes public

Details
Type:
Enhancement
Submit Date:
1999-05-05
Status:
Closed
Updated Date:
2013-01-31
Project Name:
JDK
Resolved Date:
2012-11-28
Component:
core-libs
OS:
solaris,windows_vista,solaris_2.5.1,windows_xp,windows_2000
Sub-Component:
java.util
CPU:
x86,sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.1.8,5.0,6u10,7
Fixed Versions:
8

Related Reports
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Relates:

Sub Tasks

Description
JWS has customers who are using the BASE64* classes to decode our
password files (which are base64 encoded)

One customer has requested that we make the classes a public api

                                    

Comments
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/39b25d5880c6
User:  lana
Date:  2012-12-11 19:52:58 +0000

                                     
2012-12-11
The actual implementation was checked in via this change-set:
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c6ed2c238d4f
                                     
2012-12-01
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/39b25d5880c6
User:  sherman
Date:  2012-11-28 05:31:38 +0000

                                     
2012-11-28
EVALUATION

Contribution forum : https://jdk-collaboration.dev.java.net/servlets/ProjectForumMessageView?forumID=1463&messageID=15761
                                     
2006-09-29
EVALUATION

Given the widespread use of Base64Encoder and UUEncode/UUDecode,
it makes sense to have
this available for folks to use, rather than writing their own or
using sun.misc.*, which isn't available when a security manager is in place.

Given the lateness, it should be considered again during mustang.

(Andreas wrote:
I agree. I started talking to Ian about putting in a BASE64 en/decoder as a NIO charset maybe a year ago (We both got sidetracked and nothing came of it).

Although BASE64 is conceptually quite a different encoding to what NIO was designed for, it would nicely fit into the existing APIs. If it feels too strange we can define new APIs instead, but I believe we have to do something about BASE64 given its widespread use. 
)

###@###.### 2004-04-19
                                     
2004-04-19



Hardware and Software, Engineered to Work Together