Skip to content

Commit

Permalink
8327007: javax/swing/JSpinner/8008657/bug8008657.java fails
Browse files Browse the repository at this point in the history
Backport-of: b7540df6a4279c63e69d32b9d9834f7a427478d1
  • Loading branch information
mrserb committed Jul 1, 2024
1 parent 4e702a4 commit 313a7e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jdk/javax/swing/JSpinner/8008657/bug8008657.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -39,7 +39,6 @@
* @test
* @key headful
* @bug 8008657
* @author Alexander Scherbatiy
* @summary JSpinner setComponentOrientation doesn't affect on text orientation
* @run main bug8008657
*/
Expand Down Expand Up @@ -137,6 +136,7 @@ static void createDateSpinner() {
calendar.add(Calendar.YEAR, -1);
Date earliestDate = calendar.getTime();
calendar.add(Calendar.YEAR, 1);
calendar.add(Calendar.DAY_OF_MONTH, 1);
Date latestDate = calendar.getTime();
SpinnerModel dateModel = new SpinnerDateModel(initDate,
earliestDate,
Expand Down

1 comment on commit 313a7e0

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.