JDK-8132136 : [PIT] RTL orientation in JEditorPane is broken
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-07-22
  • Updated: 2019-03-19
  • Resolved: 2015-08-04
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 b78Fixed openjdk8u212Fixed
Related Reports
Relates :  
Relates :  
The recent issue with endless loop in e.g.
 Swing_AllComponents/Automated/LAF_OrientationSuite/JEditorPaneHtmlTest1 is fixed, however there's another problem, this time with orientation, see the attached screenshots from jdk9 b40 and the current PIT for b76.

Fix Request. This is a followon to JDK-8076164, which latter has been approved. Patch applies cleanly, has its own test.

this is regression from JDK-8076164

The root cause is JTextPane center and right align doesn't work.

Also, someway simpler test: open Stylepad demo with i.e. b73 and the current PIT: in b73 header lines (everything before the corpus of text) are centered; in the PIT they are left-aligned. Feel free to raise the priority:-)

Could provide more info: How do you run it? Is it functional tests? From which repo?

Nope, it's reproducible with Windows 8.1 and OS X 10.10.

Cannot reproduce this under windows. Is that Linux specific?