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