| Summary: | "Internal error" when trying to convert SDB to IBM rules using IBM JDK 1.42 | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Praful Rajawat <prafulr> |
| Component: | TPTP | Assignee: | Marius Slavescu <slavescu> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P1 | CC: | apnan, jkubasta |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | closed460 | ||
| Bug Depends on: | 162562 | ||
| Bug Blocks: | |||
|
Description
Praful Rajawat
Targetting to 4.4 Praful, the problem is in your code, you should do the following:
in the transformer class add a field
private static int i = 0;
and us it to generate different class names like this
cp.setClassName("TestXPath_" + i++);
and you should be fine. No code changes on the TPTP side are required.
Same code was working in TPTP 4.2.0 Since TPTP has added performance fix for XPATH rules, this is been broken. I will make the change as you suggested. I am just wondering here that by doing what you are suggesting, is each xpath rule will create different class for it? Is this change will have any performance hit? Praful from the code that I've seen you are creating a class anyway, my code snippet is only setting a different name to each new class. In 4.2 it worked because we were creating a class loader for each XPathExpression, we do reuse the class loader in 4.2.1. Increasing priority as a major should be fixed in 4.4. If bug 162562 will be fixed I will fix this also, if the compile code is removed I will return this defect as WONTFIX. If this is fixed it will be fixed in the Fast XPATH implementation in the Platform.Models component. Fix in CVS. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since the originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |