Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
PrintRequestAttributeSet breaks page size macOS #174
This is simply to track the upstream bug, since Oracle does not make it public information. This is something broken with the JRE that we discovered and reported August 2016. Logging it for historical purposes. No action on our part can be done until the JVM is repaired.
The issue can be reproduced at will with the following steps:
Open: Oracle SR
Closed: Oracle SR
Below is the Java version information from Oracle's fixed build, as @tresf mentioned that logic will need to be added to check for the Java version. Note that this fix is scheduled to be released in JDK 8u152
$ java -version java version "1.8.0_121-030417y8167102y8061258" Java(TM) SE Runtime Environment (build 1.8.0_121-030417y8167102y8061258-20170403100041.alitvino.jdk8u121-b99) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b99, mixed mode)
I'm currently looking for a Java
I found a very nice candidate --
Edit: Found a workaround, by replacing
We'll need to follow-up with 2.1 branch and switch that to
Just got an email from Oracle support:
This means we could have some problems once 8u152 is released. Will have to revert the patch.
Edit: Reverted via 938c9cd
referenced this issue
Apr 5, 2018
Turns out Oracle's fix worked for QZ Tray v2.0.2, but we went and found a way to break it again in QZ Tray v2.0.3. We're discussing this under
Edit: New test case available, uploaded to SR: https://github.com/qzind/tray/files/1909917/PageBookSizeBug.zip
Oracle has patched this in a private build for us again, here's their latest update in
@klabarge can you please test?
I also tested by removing the
Let me know if you would like me to run any further tests