remove dependence of package sun.security.action for ResponseUtilTest.java (#10478)
This commit is contained in:
parent
6cde13be92
commit
62a106bc1c
@ -24,8 +24,7 @@ import java.io.UnsupportedEncodingException;
|
||||
|
||||
public class ResponseUtilTest {
|
||||
|
||||
String lineSeparator = java.security.AccessController.doPrivileged(
|
||||
new sun.security.action.GetPropertyAction("line.separator"));
|
||||
String lineSeparator = System.lineSeparator();
|
||||
|
||||
@Test
|
||||
public void testWriteErrMsg() {
|
||||
|
Loading…
Reference in New Issue
Block a user