TAJO-1177: Reduce the use of Sun proprietary API

It has been passed test cases using JDK 1.6.0_45.