| Summary: | @JavaTypeConstraint should also support OR types | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Ling Hao <ling.hao> |
| Component: | Sapphire | Assignee: | Konstantin Komissarchik <konstantin> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | konstantin |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Ling Hao
Enhancement implemented. Added a section to the 0.3 release what's new document. Unit test coverage in TestJava0004.testRequiredClass6() and TestJavaJdt0004.testRequiredClass6().
The syntax is as follows:
@JavaTypeConstraint( kind = JavaTypeKind.CLASS, type = { "java.util.List", "java.util.Map" }, behavior = JavaTypeConstraintBehavior.AT_LEAST_ONE )
The default behavior is JavaTypeConstraintBehavior.ALL, which matches old behavior for this constraint. There is no migration impact.
Please verify.
Verified with Coherence test case. |