1. Fabian Kraemer
  2. quartz


jhouse  committed 7b5b60f

Issue number: QUARTZ-290
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: Issue number:
CVS: If this change addresses one or more issues,
CVS: then enter the issue number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to the project by someone else; i.e.,
CVS: they sent us a patch or a set of diffs, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.

git-svn-id: http://svn.opensymphony.com/svn/quartz/branches/b_quartz_1-5-x@29869f7d36a-ea1c-0410-88ea-9fd03e4c9665

  • Participants
  • Parent commits ead4d49
  • Branches b_quartz_1-5-x

Comments (0)

Files changed (1)

File src/java/org/quartz/CronTrigger.java

View file
                         sub = s.substring(i, i + 3);
                         eval = getDayOfWeekNumber(sub);
                         if (eval < 0)
-                                throw new ParseException(
-                                        "Invalid Day-of-Week value: '" + sub
-                                                + "'", i);
+                            throw new ParseException(
+                                    "Invalid Day-of-Week value: '" + sub
+                                        + "'", i);
+                        if (sval > eval)
+                            throw new ParseException(
+                                    "Invalid Day-of-Week sequence: " + sval 
+                                        + " > " + eval, i);
                     } else if (c == '#') {
                         try {
                             i += 4;