Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004156Openbravo ERPA. Platformpublic2008-06-24 17:332009-05-21 16:37
villind 
shuehner 
urgentminoralways
closedfixed 
5
 
 
OBPS
Core
No
0004156: Base64 encoding uses non standard class from sun.misc
File src-core/src/org/openbravo/utils/CryptoSHA1BASE64.java uses non-standard class which may not be available on non Sun JVM implementations and may be removed without any notice.

As there is already commons-codec library in use which provides an equivalent implementation start using it.
OBN
depends on backport 0006716 closed shuehner Base64 encoding uses non standard class from sun.misc  
blocks defect 0002642 closed shuehner Base64 encoding uses non standard class from sun.misc  
Issue History
2008-06-24 17:33cromeroNew Issue
2008-06-24 17:33cromeroAssigned To => villind
2008-06-24 17:33cromeroStatusnew => scheduled
2008-06-24 17:34cromeroTag Attached: OBN
2008-06-24 17:34cromeroOBNetwork customer => Yes
2008-06-24 17:34cromeroAssigned Tovillind => cromero
2008-06-24 17:34cromeroPrioritynormal => urgent
2008-06-24 17:34cromeroCategoryA.Installation & Platform => A.Installation & Platform
2008-06-24 17:34cromeroDescription Updated
2008-06-24 18:04cromeroStatusscheduled => feedback
2008-06-27 12:22cromeroStatusfeedback => scheduled
2008-06-30 13:28svnbotCheckin
2008-06-30 13:28svnbotNote Added: 0008073
2008-06-30 13:28svnbotStatusscheduled => resolved
2008-06-30 13:28svnbotResolutionopen => fixed
2008-06-30 13:28svnbotsvn_revision => 5488
2008-10-08 18:19psarobeRegression testing => No
2008-10-08 18:19psarobeStatusresolved => closed
2008-10-08 18:19psarobeNote Added: 0009453
2008-12-22 15:00shuehnerAssigned Tocromero => shuehner
2008-12-22 15:00shuehnerStatusclosed => new
2008-12-22 15:00shuehnerResolutionfixed => open
2008-12-22 15:00shuehnerNote Added: 0011662
2008-12-22 15:00shuehnerFixed in Version2.35MP7 =>
2008-12-22 15:01shuehnerStatusnew => scheduled
2008-12-22 15:01shuehnerfix_in_branch2.3x => trunk
2008-12-22 15:51svnbotCheckin
2008-12-22 15:51svnbotNote Added: 0011671
2008-12-22 15:51svnbotStatusscheduled => resolved
2008-12-22 15:51svnbotResolutionopen => fixed
2008-12-22 15:51svnbotsvn_revision5488 => 11496
2009-05-21 16:37psarobeStatusresolved => closed

Notes
(0008073)
svnbot   
2008-06-30 13:28   
Repository: openbravo
Revision: 5488
Author: cromeroherrero
Date: 2008-06-30 13:28:44 +0200 (Mon, 30 Jun 2008)

Fixed bug 4156: Base64 encoding uses non standard class from sun.misc

---
A branches/r2.3x/lib/commons-codec-1.3.jar
U branches/r2.3x/src-core/.classpath
A branches/r2.3x/src-core/lib/commons-codec-1.3.jar
U branches/r2.3x/src-core/src/org/openbravo/utils/CryptoSHA1BASE64.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=5488&sc=1 [^]
(0009453)
psarobe   
2008-10-08 18:19   
No warning when ant core.lib
(0011662)
shuehner   
2008-12-22 15:00   
Reopening as CryptoUtility is another user of sun.misc classes and the original defect was reopened because of this issue.
(0011671)
svnbot   
2008-12-22 15:51   
Repository: openbravo
Revision: 11496
Author: huehner
Date: 2008-12-22 15:51:23 +0100 (Mon, 22 Dec 2008)

Fixed 4156
Remove usage of sun.misc classes by replacing their use with commons-codec usage.

---
U branches/r2.3x/src-core/src/org/openbravo/utils/CryptoUtility.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11496&sc=1 [^]