harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2855) [classlib][swing] j.s.plaf.basic.BasicSliderUI.uninstallUI should throw IllegalComponentStateException
Date Fri, 22 Dec 2006 14:19:22 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2855?page=all ]

Alexey A. Ivanov updated HARMONY-2855:
--------------------------------------

    Attachment: HTest2855.java

Simple application which shows the issue.

--- Harmony Output ---
passed 1
failed 2
failed 3
java.lang.ClassCastException: javax.swing.JButton incompatible with javax.swing.JSlider
	at javax.swing.plaf.basic.BasicSliderUI.uninstallUI(BasicSliderUI.java:422)
	at HTest2855.main(HTest2855.java:59)
failed 4
------

--- RI Output ---
passed 1
java.awt.IllegalComponentStateException: javax.swing.plaf.basic.BasicSliderUI@2bb0d7 was asked
to deinstall() javax.swing.JSlider[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=296,maximumSize=,minimumSize=,preferredSize=,isInverted=false,majorTickSpacing=0,minorTickSpacing=0,orientation=HORIZONTAL,paintLabels=false,paintTicks=false,paintTrack=true,snapToTicks=false,snapToValue=true]
when it only knows about null.
	at javax.swing.plaf.basic.BasicSliderUI.uninstallUI(BasicSliderUI.java:148)
	at HTest2855.main(HTest2855.java:29)
passed 2
java.awt.IllegalComponentStateException: javax.swing.plaf.basic.BasicSliderUI@2bc49b was asked
to deinstall() javax.swing.JSlider[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=296,maximumSize=,minimumSize=,preferredSize=,isInverted=false,majorTickSpacing=0,minorTickSpacing=0,orientation=HORIZONTAL,paintLabels=false,paintTicks=false,paintTrack=true,snapToTicks=false,snapToValue=true]
when it only knows about null.
	at javax.swing.plaf.basic.BasicSliderUI.uninstallUI(BasicSliderUI.java:148)
	at HTest2855.main(HTest2855.java:44)
passed 3
java.awt.IllegalComponentStateException: javax.swing.plaf.basic.BasicSliderUI@2bcf5a was asked
to deinstall() javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@2bd38a,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=,defaultCapable=true]
when it only knows about null.
	at javax.swing.plaf.basic.BasicSliderUI.uninstallUI(BasicSliderUI.java:148)
	at HTest2855.main(HTest2855.java:59)
passed 4
------

> [classlib][swing] j.s.plaf.basic.BasicSliderUI.uninstallUI should throw IllegalComponentStateException
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2855
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2855
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: HTest2855.java
>
>
> javax.swing.plaf.basic.BasicSliderUI.uninstallUI should throw IllegalComponentStateException
where the instance passed to uninstallUI does not  coincide with the instance of JSlider with
which the UI is associated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message