On Wed, 13 Sep 2023 06:32:54 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> Open source these Swing JSpinner related tests:
>> 
>> javax/swing/JSpinner/4522737/bug4522737.java
>> javax/swing/JSpinner/4656590/bug4656590.java
>> javax/swing/JSpinner/4680204/bug4680204.java
>> javax/swing/JSpinner/4862257/bug4862257.java
>> javax/swing/JSpinner/5104421/bug5104421.java
>
> test/jdk/javax/swing/JSpinner/bug4522737.java line 51:
> 
>> 49:                 objectOutputStream = new 
>> ObjectOutputStream(byteArrayOutputStream);
>> 50:                 objectOutputStream.writeObject(originalComponent);
>> 51:             } catch (Throwable e) {
> 
> You can remove this try-catch block and let original exception propagate

The test can be headless right? Not necessary to be headful?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15678#discussion_r1324085336

Reply via email to