--- a/jdk/src/share/classes/sun/applet/AppletPanel.java Tue Jan 28 12:50:53 2014 +0400
+++ b/jdk/src/share/classes/sun/applet/AppletPanel.java Tue Jan 28 09:42:05 2014 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 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
@@ -1215,8 +1215,8 @@
synchronized(appletClass) {
// Determine if the JDK level of an applet has been
// checked before.
- Boolean jdk11Target = (Boolean) loader.isJDK11Target(appletClass);
- Boolean jdk12Target = (Boolean) loader.isJDK12Target(appletClass);
+ Boolean jdk11Target = loader.isJDK11Target(appletClass);
+ Boolean jdk12Target = loader.isJDK12Target(appletClass);
// if applet JDK level has been checked before, retrieve
// value and return.