JCK : JCK6.0 b22
J2SE : FAIL - mustang b80
Platform[s] : FAIL - Windows Vista 32 beta2
PASS - Windows XP Pro 32
switch/Mode : FAIL - default
Test fails only under Plugin.
Failed testcases:
----------------------
api/java_awt/interactive/SystemTrayTests.html#SystemTrayTests
jtr file location:
=================================
attached
how to reproduce:
=================================
Compile this applet and open it using IE7.0 on the Windows Vista 32 machine - tray icon doesn't appear. If you open it on WinXP - tray icon appears.
import java.awt.*;
import java.net.*;
import java.io.*;
public class BallTest extends java.applet.Applet {
public void start() {
try {
Image image = Toolkit.getDefaultToolkit().getImage(
new URL("file:///C:/temp/12321/blue-ball.gif")); /* put your path here */
} catch (Exception e) {
throw new RuntimeException(e.getMessage());
}
TrayIcon trayIcon = new TrayIcon(image, "System Tray Test");
trayIcon.setImageAutoSize(true);
try {
SystemTray systemTray = SystemTray.getSystemTray();
systemTray.add(trayIcon);
} catch (Exception e2) {}
}
public void stop() {}
}