Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: d695fd3b9eae5e3186aba333166c4f0285f07c2c
https://github.com/hibernate/hibernate-search/commit/d695fd3b9eae5e3186ab...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-06-21 (Fri, 21 Jun 2019)
Changed paths:
M build-config/src/main/resources/forbidden-runtime.txt
M pom.xml
Log Message:
-----------
HSEARCH-3614 Add a forbiddenapis rule to forbid the use of MethodHandles in
non-whitelisted classes
Commit: 903a7f7818df9f8ec76e4161e9e379005c291e98
https://github.com/hibernate/hibernate-search/commit/903a7f7818df9f8ec76e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-06-21 (Fri, 21 Jun 2019)
Changed paths:
M
mapper/orm/src/test/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospectorAccessTypeTest.java
Log Message:
-----------
HSEARCH-3614 Fix HibernateOrmBootstrapIntrospectorAccessTypeTest to actually test
java.lang.reflect
Commit: 1c0bb89799f86e1e03c0b6b1bb5a9c70d5898180
https://github.com/hibernate/hibernate-search/commit/1c0bb89799f86e1e03c0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-06-21 (Fri, 21 Jun 2019)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/spi/HibernateOrmMapperSpiSettings.java
R
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/spi/HibernateOrmPropertyHandleFactoryName.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/spi/HibernateOrmReflectionStrategyName.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospector.java
M
mapper/orm/src/test/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospectorAccessTypeTest.java
Log Message:
-----------
HSEARCH-3614 Rename the "property handle factory" to "reflection
strategy" so that it can be used for different purposes
Commit: d066deaae9f51cc9ed1397404e6998d3d24956b9
https://github.com/hibernate/hibernate-search/commit/d066deaae9f51cc9ed13...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-06-21 (Fri, 21 Jun 2019)
Changed paths:
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/model/impl/JavaBeanBootstrapIntrospector.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospector.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmPropertyModel.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/dirtiness/building/impl/PojoAssociationPathInverter.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/InitialPropertyMappingContext.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/TypeMappingContextImpl.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/path/impl/BoundPojoModelPathPropertyNode.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/FieldPropertyHandle.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/MemberPropertyHandleFactory.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/MethodHandlePropertyHandle.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/MethodHandlePropertyHandleFactory.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/MethodPropertyHandle.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/PropertyHandle.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/PropertyHandleFactory.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorValueNodeBuilderDelegate.java
M
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/dirtiness/building/impl/PojoAssociationPathInverterTest.java
M
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/model/spi/PropertyHandleTest.java
Log Message:
-----------
HSEARCH-3614 Remove the concept of name from PropertyHandle
So that it can be turned into a simple "value reader" (see next
commits).
Commit: 13f9e38720323c4c413c7839e76c184cc14e36a8
https://github.com/hibernate/hibernate-search/commit/13f9e38720323c4c413c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-06-21 (Fri, 21 Jun 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingOverReindexingIT.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/model/impl/JavaBeanBootstrapIntrospector.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/model/impl/JavaBeanPropertyModel.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospector.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmPropertyModel.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmRawTypeModel.java
M
mapper/orm/src/test/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospectorAccessTypeTest.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/impl/PropertyIdentifierMapping.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/dirtiness/building/impl/PojoImplicitReindexingResolverPropertyNodeBuilder.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/dirtiness/impl/PojoImplicitReindexingResolverPropertyNode.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/impl/PojoModelNestedCompositeElement.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/impl/PojoPropertyElementAccessor.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/path/impl/BoundPojoModelPathPropertyNode.java
R
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/FieldPropertyHandle.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/GenericContextAwarePojoPropertyModel.java
R
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/MemberPropertyHandleFactory.java
R
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/MethodHandlePropertyHandle.java
R
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/MethodHandlePropertyHandleFactory.java
R
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/MethodPropertyHandle.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/PojoPropertyModel.java
R
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/PropertyHandle.java
R
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/PropertyHandleFactory.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorPropertyNodeBuilder.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorPropertyNode.java
M
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/dirtiness/building/impl/PojoAssociationPathInverterTest.java
R
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/model/spi/PropertyHandleTest.java
M pom.xml
M util/common/src/main/java/org/hibernate/search/util/common/logging/impl/Log.java
A
util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/FieldValueReadHandle.java
A
util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/MethodHandleValueReadHandle.java
A
util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/MethodValueReadHandle.java
A
util/common/src/main/java/org/hibernate/search/util/common/reflect/spi/MemberValueReadHandleFactory.java
A
util/common/src/main/java/org/hibernate/search/util/common/reflect/spi/MethodHandleValueReadHandleFactory.java
A
util/common/src/main/java/org/hibernate/search/util/common/reflect/spi/ValueReadHandle.java
A
util/common/src/main/java/org/hibernate/search/util/common/reflect/spi/ValueReadHandleFactory.java
A
util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/ValueReadHandleTest.java
Log Message:
-----------
HSEARCH-3614 Generalize the concept of property handle to a "value read
handle" that can be used in a non-POJO context
Commit: 1d8daff0b4758702995f66081f0b311782315e4d
https://github.com/hibernate/hibernate-search/commit/1d8daff0b4758702995f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-06-21 (Fri, 21 Jun 2019)
Changed paths:
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/JavaBeanMappingBuilder.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/model/impl/JavaBeanBootstrapIntrospector.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospector.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/util/spi/AnnotationHelper.java
Log Message:
-----------
HSEARCH-3614 Take advantage of the ValueReadHandleFactory in the AnnotationHelper
... so that we no longer rely on method handles, at least not when the
reflection strategy forbids it.
Commit: eb9000eb93ecf6431b35e4093271e08a1de8577c
https://github.com/hibernate/hibernate-search/commit/eb9000eb93ecf6431b35...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-06-21 (Fri, 21 Jun 2019)
Changed paths:
A
mapper/orm/src/test/java/org/hibernate/search/mapper/orm/model/impl/AbstractHibernateOrmBootstrapIntrospectorPerReflectionStrategyTest.java
M
mapper/orm/src/test/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospectorAccessTypeTest.java
A
mapper/orm/src/test/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospectorAnnotationReadingTest.java
Log Message:
-----------
HSEARCH-3614 Test annotation reading with every reflection strategy
Commit: 11fc5d1259e156d9d35e9522b75e869949655ed6
https://github.com/hibernate/hibernate-search/commit/11fc5d1259e156d9d35e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-06-21 (Fri, 21 Jun 2019)
Changed paths:
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/impl/AnnotationInitializingBeanDelegatingBridgeBuilder.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/impl/AnnotationInitializingBeanDelegatingMarkerBuilder.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/extractor/impl/ContainerExtractorBinder.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIndexModelBinderImpl.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/GenericContextAwarePojoGenericTypeModel.java
R
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/util/impl/GenericTypeContext.java
R
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/util/impl/ReflectionUtils.java
M
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/model/typepattern/impl/TypePatternMatcherFactoryTest.java
R
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/testsupport/util/TypeCapture.java
R
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/testsupport/util/WildcardTypeCapture.java
R
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/util/impl/CustomArgumentSettingType.java
R
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/util/impl/CustomBoundedGenericInterface.java
R
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/util/impl/CustomGenericInterface.java
R
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/util/impl/CustomGenericType.java
R
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/util/impl/CustomType.java
R
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/util/impl/GenericTypeContextTest.java
R
mapper/pojo/src/test/java/org/hibernate/search/mapper/pojo/util/impl/ReflectionUtilsTest.java
M util/common/src/main/java/org/hibernate/search/util/common/logging/impl/Log.java
A
util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/GenericTypeContext.java
A
util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/ReflectionUtils.java
A
util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/CustomArgumentSettingType.java
A
util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/CustomBoundedGenericInterface.java
A
util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/CustomGenericInterface.java
A
util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/CustomGenericType.java
A
util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/CustomType.java
A
util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/GenericTypeContextTest.java
A
util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/ReflectionUtilsTest.java
A
util/internal/test/src/main/java/org/hibernate/search/util/impl/test/reflect/TypeCapture.java
A
util/internal/test/src/main/java/org/hibernate/search/util/impl/test/reflect/WildcardTypeCapture.java
Log Message:
-----------
HSEARCH-3614 Move ReflectionUtils and GenericTypeContext from the POJO mapper module to
the utils module
They are general utils related to the Java language and not to POJO
specifically, and thus could theoretically be used in any module.
Commit: 7676a5addb35534794051dc650f249af1e122eba
https://github.com/hibernate/hibernate-search/commit/7676a5addb3553479405...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-06-21 (Fri, 21 Jun 2019)
Changed paths:
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/model/impl/JavaBeanBootstrapIntrospector.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospector.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/AbstractPojoHCAnnBootstrapIntrospector.java
M
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/PojoXClassOrdering.java
R
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/util/spi/AbstractPojoTypeOrdering.java
R
mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/util/spi/AnnotationHelper.java
M util/common/src/main/java/org/hibernate/search/util/common/logging/impl/Log.java
A
util/common/src/main/java/org/hibernate/search/util/common/reflect/spi/AbstractTypeOrdering.java
A
util/common/src/main/java/org/hibernate/search/util/common/reflect/spi/AnnotationHelper.java
Log Message:
-----------
HSEARCH-3614 Move AbstractTypeOrdering and AnnotationHelper from the POJO mapper module
to the utils module
They are general utils related to the Java language and not to POJO
specifically, and thus could theoretically be used in any module.
Compare:
https://github.com/hibernate/hibernate-search/compare/e3e5a84cc1b3...7676...