there is a couple issue w/ DoPrivAccompliceTest.java test:
- it's semi-automatic test, although it checks whether a spawn jvm exits gracefully, the test won't fail if it does not
- "negative" case is not covered. the test does not check that DoPrivTest.jar does not have rights to read 'user.home' property
- the test uses its own testlibrary to create a jar, start a jvm, while there is a common testlibrary for the same use cases.
- the test does not follow code style, it's hard to read it, especially createPolicyFile method.
- the test creates files in class files directory which can affect other tests results