Bug 178479

Summary: DSMLGW code uses non-standard sun.misc.Base64Encoder
Product: [Retired] 389 Reporter: Rich Megginson <rmeggins>
Component: DSMLGWAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: nkinder
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: 1.0.2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 16:59:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 152373, 183369, 240316    
Attachments:
Description Flags
Replace sun.misc.BASE64Decoder references.
none
list of files for fix
none
diffs for fix none

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.