-
Bug
-
Resolution: Done
-
Major
-
16.0.0.Final
Having a bean class with @ApplicationScoped, which has a @PostConstruct and is implementing the following Interface:
@Path("/validated") public interface ValidatedJaxRsInterface { @GET @Valid @Produces(MediaType.APPLICATION_JSON) GreetingModel getHelloGreeting(); }
will result in calling the getHelloGreeting method of the implementation class twice before the @PostConstruct is getting executed.
This can be reproduced with the attached reproducer application...
- is cloned by
-
JBEAP-16688 [GSS](7.2.z) @PostConstruct on @ApplicationScoped bean called too late in case @Valid is annotated on a business method
- Closed