| Summary: | [GSS] (6.4.z) Only the root method of an overridden method in an inheritance hierarchy may be annotated with parameter constraints | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Takayuki Konishi <tkonishi> |
| Component: | RESTEasy | Assignee: | Petr Jurak <pjurak> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katerina Odabasi <kanovotn> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | bmaxwell, cdewolf, fnasser, howardmoon, jbilek, kanovotn, kkhan, klape, pjurak, tasato, thofman, tmiyargi, weli, wsiqueir |
| Target Milestone: | CR1 | Keywords: | Reopened |
| Target Release: | EAP 6.4.18 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-06 18:29:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1463709, 1492658 | ||
|
Description
Takayuki Konishi
2013-11-13 11:00:40 UTC
If I add @NotNull on subclass's methond, it works well.
@Path("/user")
public interface UserResource {
@ValidateRequest
@POST
@Path("/")
User register(@FormParam("email") String email,
@FormParam("password") String password)
throws EmailAleadyRegisteredException;
}
@Stateless
public class UserResourceImpl implements UserResource {
@Override
public User register(@NotNull String email, String password)
throws EmailAleadyRegisteredException {
return new User(email, password);
}
}
Ron Sigal <ron.sigal> updated the status of jira RESTEASY-923 to Resolved Ron Sigal <ron.sigal> updated the status of jira RESTEASY-923 to Closed Released on Nov 14 2017 as part of EAP 6.4.18. |