src/share/classes/sun/font/CreatedFontTracker.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -111,11 +111,11 @@
         private static Thread t = null;
         static void init() {
             if (t == null) {
                 // Add a shutdown hook to remove the temp file.
                 java.security.AccessController.doPrivileged(
-                   new java.security.PrivilegedAction() {
+                   new java.security.PrivilegedAction<Object>() {
                       public Object run() {
                           /* The thread must be a member of a thread group
                            * which will not get GCed before VM exit.
                            * Make its parent the top-level thread group.
                            */