JDK-8133108 : [PIT] Container size is wrong in JEditorPane
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-08-06
  • Updated: 2019-03-19
  • Resolved: 2015-09-16
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 8 JDK 9 Other
8u211Fixed 9 b85Fixed openjdk8u212Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Run the Swing_AllComponents/Automated/LAF_OrientationSuite/JEditorPaneHtmlTest1 test with current JDK9 client state (pre-b78). Sorry, it is not very straightforward but the idea is easy: some simple html text is rendered into a JTextPane in a JPanel. The size of the panel is fixed. In this PIT build, however, HTML is laid out in a bigger container, and scrollbar appeared. See the attached screenshots from b40 and this PIT
Fix Request. This is a followon to JDK-8132136. Patch applies cleanly and has its own test.