This is an automated email from the ASF dual-hosted git repository.
radu pushed a change to branch SLING-12483-isRecord
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-models-impl.git
from e297671 SLING-12483 try to load the Record class on class init
add 0a391ba SLING-12483 - Improve performance of constructor-based
instantiation on Java11
No new revisions were added by this update.
Summary of changes:
.../sling/models/impl/JavaVersionDetector.java | 63 ++++++++++++++++++++++
.../apache/sling/models/impl/ReflectionUtil.java | 13 ++---
.../models/impl/JavaVersionDetectorTest.java} | 28 ++++------
3 files changed, 81 insertions(+), 23 deletions(-)
create mode 100644
src/main/java/org/apache/sling/models/impl/JavaVersionDetector.java
copy src/{main/java/org/apache/sling/models/impl/ThreadInvocationCounter.java
=> test/java/org/apache/sling/models/impl/JavaVersionDetectorTest.java} (67%)