[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/22874] [Swing] KeyStroke.getKeyStroke(String) should not
From: |
gcc-bugzilla at gcc dot gnu dot org |
Subject: |
[Bug classpath/22874] [Swing] KeyStroke.getKeyStroke(String) should not (re)throw exceptions. |
Date: |
16 Oct 2005 01:27:32 -0000 |
The quoted method calls a method that can throw the unchecked exception
IllegalArgumentException. This method should catch that and return null if
caught.
Note bug 11961 which argues that the AWTKeyStroke should not throw an
nullpointer anymore, this method effectively also does not have to catch it.
See mauve test: gnu.testlet.javax.swing.KeyStroke.getKeyStroke
------- Comment #1 from from-classpath at savannah dot gnu dot org 2005-06-03
10:06 -------
looks like this is already fixed in GNU Classpath CVS HEAD. I therefore close
this bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22874
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/22874] [Swing] KeyStroke.getKeyStroke(String) should not (re)throw exceptions.,
gcc-bugzilla at gcc dot gnu dot org <=