United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7155395 Refactor base plugin implementation to not use conditional compilation
JDK-7155395 : Refactor base plugin implementation to not use conditional compilation

Details
Type:
Bug
Submit Date:
2012-03-20
Status:
Closed
Updated Date:
2013-12-27
Project Name:
JDK
Resolved Date:
2012-03-28
Component:
deploy
OS:
os_x
Sub-Component:
plugin
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
Recently the plugin was refactored to remove the platform dependencies from the common code. The exception was Mac OS X, where we are working around problems in WebKit.

The NPAPIJavaPlugin and MacNPAPIJavaPlugin classes should be refactored so that the conditional compilation for XP_MACOSX in the base class isn't needed.

                                    

Comments
EVALUATION

Moved check for buggy WebKit version into Mac-specific overrides, and introduced new method for async handling so we can handle the dispose case properly.
                                     
2012-03-21



Hardware and Software, Engineered to Work Together