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

[Test_bug] Test javax/swing/JSlider/6794836/bug6794836.java fails with Compilation error

    XMLWordPrintable

Details

    • 9
    • generic
    • generic

    Description

      Test name(s):javax/swing/JSlider/6794836/bug6794836.java
      JDK tested: 9b28,9b27
      OS tested:Linux, Windows
      Is it a regression? No
      Regression introduced in release/build: N/A
                    
      Is it platform specific? No
           
      The is failure reproduced: Linux (Ubuntu12.04), Windows


      ----------System.err:(16/1322)----------
      /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb28/j2se/test/javax/swing/JSlider/6794836/bug6794836.java:54: error: incompatible types: Hashtable<Integer,JLabel> cannot be converted to Dictionary<Integer,JComponent>
              slider.setLabelTable(labelTable);
                                   ^
      /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb28/j2se/test/javax/swing/JSlider/6794836/bug6794836.java:70: warning: non-varargs call of varargs method with inexact argument type for last parameter;
              Method method = BasicSliderUI.class.getDeclaredMethod(name, null);
                                                                          ^
        cast to Class<?> for a varargs call
        cast to Class<?>[] for a non-varargs call and to suppress this warning
      /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb28/j2se/test/javax/swing/JSlider/6794836/bug6794836.java:74: warning: non-varargs call of varargs method with inexact argument type for last parameter;
              return method.invoke(ui, null);
                                       ^
        cast to Object for a varargs call
        cast to Object[] for a non-varargs call and to suppress this warning
      Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
      1 error
      2 warnings
      result: Failed. Compilation failed: Compilation failed


      test result: Failed. Compilation failed: Compilation failed

      Attachments

        Activity

          People

            pchopra Pooja Chopra (Inactive)
            pchopra Pooja Chopra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: