Bug 178479 - DSMLGW code uses non-standard sun.misc.Base64Encoder
Summary: DSMLGW code uses non-standard sun.misc.Base64Encoder
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: DSMLGW
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Viktor Ashirov
URL:
Whiteboard: 1.0.2
Depends On:
Blocks: 152373 183369 240316
TreeView+ depends on / blocked
 
Reported: 2006-01-20 21:36 UTC by Rich Megginson
Modified: 2015-12-07 16:59 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-07 16:59:02 UTC
Embargoed:


Attachments (Terms of Use)
Replace sun.misc.BASE64Decoder references. (2.76 KB, patch)
2006-01-23 19:15 UTC, Thomas Fitzsimmons
no flags Details | Diff
list of files for fix (310 bytes, text/plain)
2006-02-10 14:47 UTC, Rich Megginson
no flags Details
diffs for fix (12.62 KB, text/plain)
2006-02-10 14:48 UTC, Rich Megginson
no flags Details

Description Rich Megginson 2006-01-20 21:36:38 UTC
Since this code uses axis and other Apache Jakarta code, we should just use the
jakarta commons codec Base64 classes instead.

Comment 1 Thomas Fitzsimmons 2006-01-23 19:15:28 UTC
Created attachment 123586 [details]
Replace sun.misc.BASE64Decoder references.

Here is a patch to replace occurrences of sun.misc.BASE64Decoder with
org.apache.commons.codec.binary.Base64.

In my ds build I copied:

/usr/share/java/jakarta-commons-codec.jar (from
jakarta-commons-codec-1.3-2jpp_2fc in Rawhide)

to

ds/dsmlgwjars/download/codec.jar

Comment 2 Rich Megginson 2006-02-10 14:47:30 UTC
Created attachment 124494 [details]
list of files for fix

Comment 3 Rich Megginson 2006-02-10 14:48:04 UTC
Created attachment 124495 [details]
diffs for fix

Comment 4 Rich Megginson 2006-02-10 23:17:30 UTC
Reviewed by: The team (Thanks!)
Files: https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=124494
Branch: HEAD
Fix Description: Added jakarta-commons-codec.jar to the DS build and 
packaging.  We will need to add this file to the bundle of dsmlgw jar 
files on /share/builds/components.
Platforms tested: Fedora Core 4
Flag Day: no
Doc impact: no
QA impact: should be covered by regular nightly and manual testing
New Tests integrated into TET: none

On Fedora Core 4, DS builds with gcj now!

Comment 5 Nathan Kinder 2007-12-20 19:38:40 UTC
Verified that we are using no "sun.*" classes in the DSML gateway code.

Marking as VERIFIED.


Note You need to log in before you can comment on or make changes to this bug.