The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases.
This lesson shows how a policy file, that controls resource accesses, can be created.
The step for this lesson is: