Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4235519

Make sun.misc.BASE64{De,En}coder classes public

    Details

    • Subcomponent:
    • Resolved In Build:
      b68
    • CPU:
      x86, sparc
    • OS:
      solaris, solaris_2.5.1, windows_2000, windows_xp, windows_vista
    • Verification:
      Verified

      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

        Issue Links

          Activity

          Hide
          wetmore Bradford Wetmore added a comment -
          BT2: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
          Show
          wetmore Bradford Wetmore added a comment - BT2: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
          Show
          tbell Tim Bell added a comment - BT2:EVALUATION Contribution forum : https://jdk-collaboration.dev.java.net/servlets/ProjectForumMessageView?forumID=1463&messageID=15761
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/39b25d5880c6
          User: sherman
          Date: 2012-11-28 05:31:38 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/39b25d5880c6 User: sherman Date: 2012-11-28 05:31:38 +0000
          Hide
          alanb Alan Bateman added a comment -
          The actual implementation was checked in via this change-set:
          URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c6ed2c238d4f
          Show
          alanb Alan Bateman added a comment - The actual implementation was checked in via this change-set: URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c6ed2c238d4f
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/39b25d5880c6
          User: lana
          Date: 2012-12-11 19:52:58 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/39b25d5880c6 User: lana Date: 2012-12-11 19:52:58 +0000
          Hide
          mchung Mandy Chung added a comment -
          java.util.Base64 added in Java SE @1.8
          Show
          mchung Mandy Chung added a comment - java.util.Base64 added in Java SE @1.8

            People

            • Assignee:
              sherman Xueming Shen
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: