Avoid compilation failure using 'com.sun' classes in test utilities.