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

Lanai - JPopupMenu/7154841 - no mouse events on the popup menu

    XMLWordPrintable

Details

    • 2d
    • x86_64
    • os_x
    • Verified

    Description

      The test javax/swing/JPopupMenu/7154841/bug7154841.java fails with the following output :

      #section:main
      ----------messages:(5/183)----------
      command: main bug7154841
      reason: User specified action: run main bug7154841
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 15.177
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(0/0)----------
      ----------System.err:(22/2968)----------
      metalEnabled=1
      2020-01-30 16:47:53.919 java[22516:1098016] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
      2020-01-30 16:47:53.919 java[22516:1098016] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
      2020-01-30 16:47:53.920 java[22516:1098016] CoreText note: Client requested name ".SFNS-Bold", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
      2020-01-30 16:47:53.920 java[22516:1098016] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
      2020-01-30 16:47:53.924 java[22516:1098016] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
      2020-01-30 16:47:53.924 java[22516:1098016] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
      2020-01-30 16:47:53.928 java[22516:1098016] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
      2020-01-30 16:47:53.928 java[22516:1098016] CoreText note: Client requested name ".SFNS-Bold", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
      java.lang.RuntimeException: Failed: no mouse events on the popup menu
      at bug7154841.main(bug7154841.java:100)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Failed: no mouse events on the popup menu
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Failed: no mouse events on the popup menu

      The failure was not observed on OpenJDK builds jdk-14-ea+33_osx-x64, jdk-15-ea+7_osx-x64

      Please note items of the popup menu overlap each other on lanai-builds while they look well on jdk14, jdk15

      The reproducibility: 100%
      Steps to reproduce:

      $ jtreg -Dsun.java2d.metal=true -testjdk:[path_to_lanai_home] test/jdk/javax/swing/JPopupMenu/7154841/bug7154841.java.bug7154841

      Attachments

        1. bug7154841.jtr
          9 kB
        2. Metal_Menu.png
          Metal_Menu.png
          36 kB
        3. OGL_Menu.png
          OGL_Menu.png
          48 kB

        Issue Links

          Activity

            People

              aghaisas Ajit Ghaisas
              vprovodin Vitaly Provodin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: