Bug 1070662
| Summary: | Unable to extend classes declared outside drl | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Tomas Schlosser <tschloss> | ||||
| Component: | BRE | Assignee: | Edson Tirelli <etirelli> | ||||
| Status: | CLOSED EOL | QA Contact: | Marek Winkler <mwinkler> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.0.1 | CC: | kverlaen, lpetrovi | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 6.2.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-03-27 19:11:49 UTC | Type: | Enhancement | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Verified that the reproducer can be built successfully in BRMS 6.2.0.CR2. |
Created attachment 868449 [details] Self contained DRL test Description of problem: Trying to extend POJO class in DRL file leads to build error (not a declared type). However it is very easy to bypass this by adding some metadata (like marking it event) to the original class and extending it now works. Would it be possible to allow extending even the external classes? Version-Release number of selected component (if applicable): BRMS 6.0.1 ER1 How reproducible: See attached drl Steps to Reproduce: 1. build the attached drl Actual results: Message [id=1, level=ERROR, path=rules.drl, line=6, column=0 text=Cannot extend supertype 'java.util.Date' (not a declared type)] Expected results: Rules are compiled without error