JDK-7190935 : TEST_BUG: javax/print/applet/AppletPrintLookup.sh fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7,8
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_oracle_6.0
  • CPU: generic
  • Submitted: 2012-08-13
  • Updated: 2018-04-28
  • Resolved: 2018-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.
Other
tbd_majorResolved
Related Reports
Duplicate :  
Description
Test javax/print/applet/AppletPrintLookup.sh fails because applet 3 does not find Applet 3 printer.

Instructions:
Wait until 5 applets have initialised and started and display string
messages. Applet 0 and Applet 2 should find one less print service
than the rest.
Specifically all except Applets 0 and 2 should find a service called
Applet N printer where N is the number of the applet.
They should *NOT* find Applet M printer (where M != N).
After deciding if the test passes, Quit appletviewer, and next
Select either the Pass or Fail button below

Actual behaviour:
Applet 3 does not find Applet 3 printer.

Comments
EVALUATION It seems it is enough java.lang.RuntimePermission "queuePrintJob" permission. I have modified the sh script to run the appletviewer with the permission. The applet #3 found the default print service.
21-08-2012

EVALUATION I have run the Applet3 test with apletviewer and as a main class. By contrast with applet, the standalone application found the default printer service. It looks like a permission-related issue.
21-08-2012