JDK-8044444 : The output's 'Page-n' footer does not show completely.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2014-05-04
  • Updated: 2020-03-31
  • Resolved: 2015-04-28
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
8u60Fixed 9 b65Fixed
Related Reports
Relates :  
Description
Testsuite name: jck manual
Test name:api/javax_swing/interactive/JTablePrintTests_JTablePrint
Product tested: JDK 8 u11 b06 64bit
OS/architecture: Mac10.9-x64 (Processor:2.5GHz Intel Core i5;Memory:4GB 1333MHz DDR3)

Error log file (if present):http://aurora-ds3.us.oracle.com:9502/runs%2F476797.ManualSubmit-1/workDir/api/javax_swing/interactive/JTablePrintTests_JTablePrint.jtr

Reproducible: Always
Reproducible on machine: Evergreen-machine 

Is it a Regression: Yes
Regression introduced in release/build:8u11b06( JDK 8u11b05 mac10.9 Pass)

Test result on the last GAed release for this train:Pass(JDK 8 u05 b11/SLES 11 (SP1) x64,JDK 8 u05 b10/Solaris x64,JDK 8 u05 b08/Mac OS 10.9 (x64)) 

Is it a platform specific issue: yes
JDK 8 u11 b06/Solaris x64 Pass
JDK 8 u11 b04/Windows 7 SP1 x64 Pass

Is it a new (previously unsupported) OS/browser/mode testing: No

Steps to reproduce:
1. Install test bundle jdk8u11b06 from http://jre.us.oracle.com/java/re/jdk/8u11/promoted/all/b06/bundles/macosx-x86_64/jdk-8u11-macosx-x86_64.dmg to /Library/Java/JavaVirtualMachines/
2. Download the JCK-runtime-8_b42.jar from http://jre.us.oracle.com/java/re/jck/8/promoted/fcs/b42/bundles/ to /var/root/workspace/jck/ and use /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home/bin/java -jar JCK-runtime-8_b42.jar to unzip it
3./Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home/bin/java -showversion -cp /private/var/root/workspace/jck/JCK-runtime-8/classes:/Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home/lib/tools.jar -Djava.security.policy=/private/var/root/workspace/jck/JCK-runtime-8/lib/jck.policy javasoft.sqe.tests.api.javax.swing.interactive.JTable.JTablePrintTests -TestCaseID ALL

Descriptions:
This test tests the JTable.print(int, MessageFormat, MessageFormat, boolean, PrintRequestAttributeSet, boolean) method.
A JTable contained in a JScrollPane is shown below.
Pressing the 'Print table' button will cause the table to be printed.
Please verify that two copies of the table are printed as shown below.
Please verify that the output fits the table's width, that rows of the printed table are spread across multiple pages as necessary,
and that each page of the output contains an "Author Table" header and a "Page - n" footer, where 'n' is the page number.
The status area below the table shows the result of the attempt to print the table.
The 'Reset' button can be used to clear the status area.
Is the table printed as specified above?

Actual behavior:
The output's 'Page-n' footer does not show completely. please refer to print1.jpg and print2.jpg.

Validation:
jdk7u65b10(64bit)/win7-sp1-x64,passed
jdk7u66b10(32bit)/solaris10-x86,passed
Comments
This is a regression from the fix JDK-8011069 Printing: NullPointerException since jdk8 b82 showing native Page Setup Dialog.
11-07-2014

The issue is being reproducer on stt-mac-04.ru with jdk8u11b06 with printer spb04b12. But on this printer also the title of the page is not printed well: the top of the title is cut off, so I think it depends on printer driver.
30-05-2014

add case name for aurora api/javax_swing/interactive/JTablePrintTests_JTablePrint
04-05-2014