commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bugs #11368] JLabel.setDisplayedMnemonic crashes if given c


From: anonymous
Subject: [commit-cp] [bugs #11368] JLabel.setDisplayedMnemonic crashes if given char is not found
Date: Tue, 21 Dec 2004 12:43:24 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041219 Firefox/1.0 (Debian package 1.0+dfsg.1-1)

This mail is an automated notification from the bugs tracker
 of the project: classpath.




/**************************************************************************/
[bugs #11368] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11368>
Project: classpath
Submitted by: 0
On: Tue 12/21/2004 at 17:30

Category:  classpath
Severity:  5 - Average
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  JLabel.setDisplayedMnemonic crashes if given char is not found

Original Submission:  
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
range: -1
   at java.lang.String.charAt (String.java:476)
   at javax.swing.JLabel.setDisplayedMnemonicIndex (JLabel.java:418)
   at javax.swing.JLabel.setDisplayedMnemonic (JLabel.java:375)
   at javax.swing.JLabel.setDisplayedMnemonic (JLabel.java:388)

Sun's javax does nothing on that case - also in Suns
JavaDoc there is no exception specified.











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11368>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]