JDK-7116333 : Cannot display dialogs using 1.4.2 or 1.5.0 jres.
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2011-11-29
  • Updated: 2013-10-23
  • Resolved: 2011-12-19
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.
JDK 7 JDK 8
7u4Fixed 8 b18Fixed
Related Reports
Relates :  
Description
There is a serious problem in fix to 7112643.
The infrastructure changes cause NoSuchField exceptions when running with 1.5.0 or 1.4.2.
Although the calls to dialog.setModalityType are bracketed with calls to isJavaVersionAtLeast16(), the modalityType itself is initialized in and passed to DialogHelper w/o such bracketing.
This causes the exception whenever modal dialogs are to be shown.

Comments
Verified using b112
23-10-2013

EVALUATION combine interface for alwaysOnTop and ToolkitModal - since we always use these together. - only refer to Dialog.ModalityType inside ifJavaVersionAtLeast16() block.
29-11-2011