Replace sun.misc.Unsafe with jdk.internal.misc.Unsafe Reviewed-by: chegar, kvn
Only make the obsolete check for valid arguments(length less than 256) Reviewed-by: dcubed, dholmes