--- old/src/share/classes/sun/java2d/Disposer.java 2014-01-25 11:00:54.000000000 -0800 +++ new/src/share/classes/sun/java2d/Disposer.java 2014-01-25 11:00:54.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 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 @@ -64,7 +64,7 @@ } }); initIDs(); - String type = (String) java.security.AccessController.doPrivileged( + String type = java.security.AccessController.doPrivileged( new sun.security.action.GetPropertyAction("sun.java2d.reftype")); if (type != null) { if (type.equals("weak")) {