This use of sun.nio.cs.Surrogate doesn't seem to be optional. We should not use classes from sun.* unless they are optional