Skip to content

Commit

Permalink
8327007: javax/swing/JSpinner/8008657/bug8008657.java fails
Browse files Browse the repository at this point in the history
Reviewed-by: sgehwolf
Backport-of: b7540df6a4279c63e69d32b9d9834f7a427478d1
  • Loading branch information
mrserb committed Aug 21, 2024
1 parent 8b28c35 commit 4c9c5a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jdk/test/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 @@ -36,7 +36,6 @@
/**
* @test
* @bug 8008657
* @author Alexander Scherbatiy
* @summary JSpinner setComponentOrientation doesn't affect on text orientation
* @run main bug8008657
*/
Expand Down Expand Up @@ -122,6 +121,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 4c9c5a4

@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.