United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6609139 Plugin2: Animation Panel has Java 6 dependency
JDK-6609139 : Plugin2: Animation Panel has Java 6 dependency

Details
Type:
Bug
Submit Date:
2007-09-25
Status:
Resolved
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2007-12-17
Component:
deploy
OS:
generic
Sub-Component:
plugin
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
6u5
Fixed Versions:
6u10 (b09)

Related Reports
Relates:

Sub Tasks

Description
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.

                                    

Comments
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/
                                     
2007-12-03
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.
                                     
2007-12-03



Hardware and Software, Engineered to Work Together