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 {
|
public class ResponseUtilTest {
|
||||||
|
|
||||||
String lineSeparator = java.security.AccessController.doPrivileged(
|
String lineSeparator = System.lineSeparator();
|
||||||
new sun.security.action.GetPropertyAction("line.separator"));
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testWriteErrMsg() {
|
public void testWriteErrMsg() {
|
||||||
|
Loading…
Reference in New Issue
Block a user