--- old/src/java.desktop/share/classes/java/awt/print/PrinterJob.java 2016-04-06 17:02:43.020030700 +0530 +++ new/src/java.desktop/share/classes/java/awt/print/PrinterJob.java 2016-04-06 17:02:42.453958800 +0530 @@ -577,6 +577,8 @@ /** * Gets the name of the printing user. * @return the name of the printing user + * @throws AccessControlException if a security manager exists and + * PropertyPermission - user.name is not given in the policy file */ public abstract String getUserName();