diff -r e7d5af0b11e9 -r eed64ee05369 jdk/src/windows/classes/sun/awt/Win32GraphicsDevice.java --- a/jdk/src/windows/classes/sun/awt/Win32GraphicsDevice.java Tue Jan 28 12:50:53 2014 +0400 +++ b/jdk/src/windows/classes/sun/awt/Win32GraphicsDevice.java Tue Jan 28 09:42:05 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -88,7 +88,7 @@ // is run as an NT service. To prevent the loading of ddraw.dll // completely, sun.awt.nopixfmt should be set as well. Apps which use // OpenGL w/ Java probably don't want to set this. - String nopixfmt = (String)java.security.AccessController.doPrivileged( + String nopixfmt = java.security.AccessController.doPrivileged( new sun.security.action.GetPropertyAction("sun.awt.nopixfmt")); pfDisabled = (nopixfmt != null); initIDs();