@ -140,7 +150,8 @@ public class ScheduledAnnotationBeanPostProcessorTests {
@@ -140,7 +150,8 @@ public class ScheduledAnnotationBeanPostProcessorTests {
@ -155,6 +166,7 @@ public class ScheduledAnnotationBeanPostProcessorTests {
@@ -155,6 +166,7 @@ public class ScheduledAnnotationBeanPostProcessorTests {
@ -248,7 +260,8 @@ public class ScheduledAnnotationBeanPostProcessorTests {
@@ -248,7 +260,8 @@ public class ScheduledAnnotationBeanPostProcessorTests {
@ -269,6 +282,18 @@ public class ScheduledAnnotationBeanPostProcessorTests {
@@ -269,6 +282,18 @@ public class ScheduledAnnotationBeanPostProcessorTests {
Thread.sleep(10000);
}
@Test// throws BeanCreationException in 4.1, just logs a warning before
@ -527,10 +552,11 @@ public class ScheduledAnnotationBeanPostProcessorTests {
@@ -527,10 +552,11 @@ public class ScheduledAnnotationBeanPostProcessorTests {
}
@Validated
staticclassCronTestBean{
@Scheduled(cron="*/7 * * * * ?")
publicvoidcron()throwsIOException{
privatevoidcron()throwsIOException{
thrownewIOException("no no no");
}
}
@ -539,7 +565,7 @@ public class ScheduledAnnotationBeanPostProcessorTests {
@@ -539,7 +565,7 @@ public class ScheduledAnnotationBeanPostProcessorTests {
@ -642,7 +668,8 @@ public class ScheduledAnnotationBeanPostProcessorTests {
@@ -642,7 +668,8 @@ public class ScheduledAnnotationBeanPostProcessorTests {