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

[TEST_BUG] java/awt/Toolkit/RealSync/Test.java: Cause: Not pressed

XMLWordPrintable

    • x86
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      Darwin 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

      A DESCRIPTION OF THE PROBLEM :
      The test java/awt/Toolkit/RealSync/Test.java fails on MacOSX with the message: "Test failed: testPress"
      The issue was also observed on Windows. The test passes on Linux.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      jtreg -ignore:quiet -v -a -xml -testjdk:"/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/" -javaoptions:"-Djava.awt.headless=false" test/java/awt/Toolkit/RealSync/Test.java

      ACTUAL -
      #section:main
      ----------messages:(5/230)----------
      command: main Test
      reason: User specified action: run main/timeout=6000 Test
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop --add-exports java.desktop/sun.awt=ALL-UNNAMED
      elapsed time (seconds): 44.66
      ----------configuration:(4/97)----------
      Boot Layer
        add modules: java.desktop
        add exports: java.desktop/sun.awt ALL-UNNAMED

      ----------System.out:(0/0)----------
      ----------System.err:(40/4768)----------
      WARNING: GL pipe is running in software mode (Renderer ID=0x1020400)
      Test failed: testPress
      Cause: Not pressed
      Cause: - Focus owner: null
      Cause: - Focused window: null
      Events:
      java.awt.event.ComponentEvent[COMPONENT_MOVED (100,100 200x200)] on frame0
      java.awt.event.ContainerEvent[COMPONENT_ADDED,child=button0] on frame0
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (100,100 200x200)] on frame0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (100,100 200x200)] on frame0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (100,100 200x200)] on frame0
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (100,100 200x200)] on frame0
      java.awt.event.ComponentEvent[COMPONENT_HIDDEN] on sun.lwawt.LWButtonPeer$JButtonDelegate[,0,0,75x29,invalid,hidden,alignmentX=0.0,alignmentY=0.5,border=com.apple.laf.AquaButtonBorder$Dynamic@34b55e55,flags=16777512,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=b,defaultCapable=true]
      java.awt.event.ComponentEvent[COMPONENT_SHOWN] on sun.lwawt.LWButtonPeer$JButtonDelegate[,0,0,75x29,invalid,hidden,alignmentX=0.0,alignmentY=0.5,border=com.apple.laf.AquaButtonBorder$Dynamic@34b55e55,flags=16777512,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=b,defaultCapable=true]
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (0,0 75x29)] on sun.lwawt.LWComponentPeer$DelegateContainer[,0,0,75x29,invalid]
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (0,0 75x29)] on sun.lwawt.LWButtonPeer$JButtonDelegate[,0,0,75x29,invalid,hidden,alignmentX=0.0,alignmentY=0.5,border=com.apple.laf.AquaButtonBorder$Dynamic@34b55e55,flags=16777512,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=b,defaultCapable=true]
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (62,27 75x29)] on button0
      java.awt.event.ComponentEvent[COMPONENT_RESIZED (62,27 75x29)] on button0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (62,27 75x29)] on button0
      java.awt.event.ComponentEvent[COMPONENT_MOVED (62,27 75x29)] on button0
      java.awt.event.ComponentEvent[COMPONENT_SHOWN] on frame0
      java.awt.event.WindowEvent[WINDOW_OPENED,opposite=null,oldState=0,newState=0] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=0,height=0]] on frame0
      java.awt.event.WindowEvent[WINDOW_ACTIVATED,opposite=null,oldState=0,newState=0] on frame0
      sun.awt.TimedWindowEvent[WINDOW_GAINED_FOCUS,opposite=null,oldState=0,newState=0] on frame0
      java.awt.event.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on button0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=0,height=0]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=200,height=200]] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=75,height=29]] on button0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=0,height=0]] on frame0
      Pressing at java.awt.Point[x=162,y=127]
      java.awt.event.MouseEvent[MOUSE_MOVED,(3,3),absolute(165,130),clickCount=0] on button0
      java.awt.event.MouseEvent[MOUSE_MOVED,(3,3),absolute(165,130),clickCount=0] on button0
      java.awt.event.FocusEvent[FOCUS_LOST,temporary,opposite=null,cause=ACTIVATION] on button0
      sun.awt.TimedWindowEvent[WINDOW_LOST_FOCUS,opposite=null,oldState=0,newState=0] on frame0
      java.awt.event.WindowEvent[WINDOW_DEACTIVATED,opposite=null,oldState=0,newState=0] on frame0
      java.awt.event.PaintEvent[PAINT,updateRect=java.awt.Rectangle[x=0,y=0,width=75,height=29]] on button0
      FAILURE MOMENT
      java.awt.event.ComponentEvent[COMPONENT_HIDDEN] on sun.lwawt.LWButtonPeer$JButtonDelegate[,0,0,75x29,invalid,hidden,alignmentX=0.0,alignmentY=0.5,border=com.apple.laf.AquaButtonBorder$Dynamic@34b55e55,flags=16777512,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=b,defaultCapable=true]
      java.awt.event.WindowEvent[WINDOW_CLOSED,opposite=null,oldState=0,newState=0] on frame0

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk9/dev/jdk/file/65464a307408/test/java/awt/Toolkit/RealSync/Test.java
      ---------- END SOURCE ----------

      FREQUENCY : always


            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: