]
Mario Fusco updated DROOLS-5227:
--------------------------------
Sprint: 2020 Week 13-15 (from Mar 23)
Investigate performance degradation of fact type API usage in drools
7
----------------------------------------------------------------------
Key: DROOLS-5227
URL:
https://issues.redhat.com/browse/DROOLS-5227
Project: Drools
Issue Type: Task
Reporter: Mario Fusco
Assignee: Mario Fusco
Priority: Major
In Drools 7 a big amount of time is spent to manage a NoSuchFieldExceptions in
Class.getDeclaredField. This happens when client code tries to get/set a value of a
non-existent field of a Fact Type: while in Drools 6 it immediately returns a null, in
Drools 7 causes the execution of a recursive routine introspecting the class itself. Very
likely this change behaviour has been introduced by this commit
https://github.com/kiegroup/drools/commit/435f7ead86e20b361e25abd60f1b228...