Showing posts with label WAS Upgrade. Show all posts
Showing posts with label WAS Upgrade. Show all posts

Wednesday, February 15, 2012

[Resolved] Do not use APIs from sun.* packages (WAS Upgrade)

This is a short note for my WAS upgrade project V6.0 to V7.0

Recommendation by the WebSphere Application Migration Tool:
Do not use APIs from sun.* packages

Package: sun.misc.BASE64Encoder

*** Code changes as below:

Before
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;

Monday, February 13, 2012

[Resolved] Use the BigDecimal toPlainString() method explicitly when deriving a string value (WAS Upgrade)

This is a short note for my WAS upgrade project V6.0 to V7.0

Recommendation by the WebSphere Application Migration Tool:
Use the BigDecimal toPlainString() method explicitly when deriving a string value


The behavior of the method toString() in BigDecimal is changed from J2SE 1.4 to 1.5

Java 1.4.2

 StringtoString()
          Returns the string representation of this BigDecimal.