Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6419042

JCK-runtime-60: api/java_awt/interactive/SystemTrayTests.html fail on Windows Vista 32 IE7.0 Plugin

    XMLWordPrintable

Details

    • b01
    • x86
    • windows_vista

    Backports

      Description

        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() {}
            }

        Attachments

          Issue Links

            Activity

              People

                dcherepanov Dmitry Cherepanov
                aishmetysunw Arthur Ishmetyev (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: