JDK-8048906 : Broken exception site list GUI- Unable to add a site to the list
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 8u20,9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2014-07-01
  • Updated: 2015-01-21
  • Resolved: 2014-07-11
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 JDK 9
7u72Fixed 8u20 b23Fixed 9Fixed
Related Reports
Relates :  
Relates :  
Description
There are GUI regressions in 8u20 PIT (dated 06/30) or 8u20-b21 promotion build

1) On Linux,  it is a broken exception site list GUI that one can not add any URL to the list- run time exception thrown
** (java:7354): CRITICAL **: murrine_style_draw_flat_box: assertion `height >= -1' failed

2) On Mac, the default width  of 'Location' column unexpectedly shift too much to the right.  That leaves the first column (with the lock icon)  so wide by default

** Steps to reproduce:
0) Install 8u20 PIT deployment bundle
http://sthjprt.se.oracle.com/archives/2014/06/2014-06-30-185432.dcherepanov.pit/bundles/

or 8u20-b21 promotion build:
http://jre.us.oracle.com/java/re/jdk/8u20/promoted/all/b21/bundles/

1) Open Java control panel and get to Security-->Edit Site List
2) Click 'Add'

- On Linux if you are able to add the site and see the exception  '** (java:7354): CRITICAL **: murrine_style_draw_flat_box: assertion `height >= -1' failed'
the issue is reproducible
- On Mac,  it is easily noticed the default width of "Location' column from the exception site list dialog
Comments
There are several related issues. SQE OK to take the JDK-8048906, JDK-8050016 and JDK-8038463 all or none into PSU14_04 ZBB build.
25-08-2014

Critical request: - Fix for Release: 7u72. - Justification: Regression from JDK-8038463 on some Linux flavors where table rows have height of 2 pixels if the first columns contains an image instead of text. - Risk Analysis: Low, the fix changes the way row height is set. - Webrev: https://java.se.oracle.com/code/cru/CR-JDK8UCPU-132 - Testing (done/to-be-done): check Exception Site List dialog has correct table row height. The fix is included in 8u20. - Back ports (done/to-be-done): Done - FX Impact: No
22-08-2014

Verified with 8u20 b23.
24-07-2014

This fix has to be backported to jdk7 together with JDK-8038463.
10-07-2014

8u20 justification: this is regression introduced in 8u20 b21, exception site list UI is broken on Linux.
08-07-2014

SQE-Ok to take this fix for 8u20
07-07-2014

The default width of Exception List dialog increased because I removed word-wrapping in JSmartTextArea at the bottom of the dialog. It shouldn't have been a big issue if new line character hadn't been removed from the text, it might have been an incident because "new line" exists both in 9 and in 7, it's missing only in 8. It was removed under JDK-8027604. I'd propose to restore "new line" between the two sentences in the description at the bottom of the dialog.
03-07-2014

Yes, These issues are related to JDK-8038463. 1. On Linux (Ubuntu 12.04), the row height of the table is set to 2. In this particular case, a Synth UI delegate is used, the first column of exception list table contains an icon, and the delegate returns 2 as the preferred height when the icon is null. This issue cannot be reproduced on Kubuntu 13.10. 2. Since the default width of the Exception List dialog increased, the width of the table increased. The table distributes the width between those two columns, and therefore the first column gets larger. It is seen on Mac and Linux, it's also seen on Windows though to a lesser extent. The first column in this table should be non-resizable as it displays fixed sized-icon 16x16.
03-07-2014