JDK-6609139 : Plugin2: Animation Panel has Java 6 dependency
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u5
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-09-25
  • Updated: 2010-09-08
  • Resolved: 2007-12-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
6u10 b09Fixed
Related Reports
Relates :  
The new plugin supports runngin java applets in 1.4.2 and 1.5 JVM. Deploy and plugin code on client vm side need be compatible with as low as 1.4.2. The current animation panel is using some jre 6 feature. It throw ClassNotFound, for example, java.awt.RadialGradientPaint.class, when run in 1.5.x jvm.

To support multiple JREs, Animation Panel need take jre runtime version into consideration.

SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u10/6609139.0 testcase: http://web-east.east.sun.com/deployment/www/tests/1.6.0_10/6609139/

EVALUATION The AnimationPanel already contained commented-out alternatives for most of the uses of Java 6 specific APIs. Added run-time detection of the JRE version in use (avoiding external dependencies as much as possible) and use of these alternate code paths. Disabled the glow around the progress bar when not running on Java 6 since that did not seem easy to backport and is a relatively small visual difference.