Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6592906
Votes 0
Synopsis Regression test AppletPrintLookup.html fails
Category java:classes_2d
Reported Against
Release Fixed 7(b20)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 14-AUG-2007
Description
Problems:
The failed test is reported by appLab(in India), which the test results don't match with the instructions.

The instruction says: Wait until 5 applets have initialised and started and display string messages. Applet 0 should find one less print service than all the rest. Specifically all except Applet 0 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). 

The reults show: applet0 finds the same print service as applet1 and applet2, and only applet3 and applet4 found the printer numbers match their applet numbers(for example, applet3 found service: Applet 3 Printer), others don't show any printer numbers which found.

So need an evulation for this test, if the instruction need to be changed or it is a bug.

The test is located: /java/re/jdk/6u3/promoted/latest/ws/j2se/test/javax/print/applet/
Posted Date : 2007-08-14 22:32:58.0
Work Around
N/A
Evaluation
Applets 1 and 2 provide extra services via the service provider mechanism,
but are not "jar"ed up since the test was written a long time ago,
before the fix for 6215746 was implemented so that AppletClassLoader
will only look for service providers in jars - to avoid extra HTTP requests.
That behaviour is in 5u3 and JDK 6 (since b28) so its not new.
Modifying the test to put the service in a jar shows its found again,
so this seems to be conclusive
So there is no product bug here, just the test needs updating.
Hopefully there's a magic incantation I can use to tell the test harness
to create a jar of specified files.
Posted Date : 2007-08-14 23:20:25.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang