You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
Javadocs for @AfterChunk/@BeforeChunk state Expected signature: void afterChunk(Chunk) or Expected signature: void beforeChunk(Chunk) respectively.
But actually doing so results in something like:
java.lang.IllegalArgumentException: The method [afterChunk] on target class [MyChunkListener] is incompatible with the signature [(ChunkContext)] expected for the annotation [AfterChunk]
Using a signature of e.g. void beforeChunk(ChunkContext) works.
Environment
Spring Batch 6.0.0-M2 used from Spring Boot 4.0.0-M2
Steps to reproduce
Sample Listener to reproduce issue.