Jean-Louis Monteiro [Mon, 28 Sep 2020 13:11:04 +0000 (15:11 +0200)]
Make sure build, tests and TCK run with JDK11
Jean-Louis Monteiro [Mon, 28 Sep 2020 12:29:59 +0000 (14:29 +0200)]
Refactor to move microbenchmark to a separate module
Jean-Louis Monteiro [Wed, 23 Sep 2020 15:47:44 +0000 (17:47 +0200)]
Clean up pom
Jean-Louis Monteiro [Wed, 23 Sep 2020 09:09:21 +0000 (11:09 +0200)]
Fix scopes on dependencies
Jean-Louis Monteiro [Tue, 22 Sep 2020 13:47:58 +0000 (15:47 +0200)]
Avoid memory leaks in child
Avoid non needed work when no validation constraints are found
Small micro-benchmarks
Fix Java 11 compilation with Java FX as an external library
Thomas Andraschko [Thu, 9 Jul 2020 15:44:45 +0000 (17:44 +0200)]
[maven-release-plugin] prepare for next development iteration
Thomas Andraschko [Thu, 9 Jul 2020 15:44:21 +0000 (17:44 +0200)]
[maven-release-plugin] prepare release 2.0.4
Thomas Andraschko [Thu, 9 Jul 2020 15:34:05 +0000 (17:34 +0200)]
use version available in central
Thomas Andraschko [Thu, 9 Jul 2020 15:09:24 +0000 (17:09 +0200)]
2.0.4
Thomas Andraschko [Wed, 29 Apr 2020 12:17:19 +0000 (14:17 +0200)]
BVAL-180 Add shaded jakarta jar
Thomas Andraschko [Mon, 12 Aug 2019 09:44:09 +0000 (11:44 +0200)]
[maven-release-plugin] prepare for next development iteration
Thomas Andraschko [Mon, 12 Aug 2019 09:43:32 +0000 (11:43 +0200)]
[maven-release-plugin] prepare release 2.0.3
Thomas Andraschko [Mon, 12 Aug 2019 08:48:29 +0000 (10:48 +0200)]
fixed TCK on windows
Thomas Andraschko [Mon, 12 Aug 2019 08:27:09 +0000 (10:27 +0200)]
updating files for release
Thomas Andraschko [Fri, 7 Jun 2019 12:03:33 +0000 (14:03 +0200)]
BVAL-174
Tomasz Wysocki [Mon, 3 Jun 2019 10:19:25 +0000 (12:19 +0200)]
[BVAL-176] Remove resetting of accessible flag when security manager is present
This feature will not work without some synchronization on the
reflection data itself in multithreaded environment.
Therefore the feature has been removed due to following concerns:
1. resetting accessible flag for security manager does not mean that for
short period of time the flag is not actually set and bad code could
exploit that - therefore resetting accesible back is not really making
private/protected members unaccessible to other code. This is a design flaw in
reflection , if accessible flag would be per thread it would work much better.
2. since accessible flag is global it would require synchronization to make it work correctly,
which is costly. Current implementation just breaks for SM present case
- it throws 'inaccessible' exceptions since it does not synchronize at
all.
3. there is no saying what would need to be synchronized (probably the
field or method reflected instances but it is not specified). Therefore
synchronizing it would work only within scope of a single framework
(bval).
4. other frameworks typically don't reset back accessible and just keep
the flag set. Therefore any synchronization mechanism specific to bval would not cooperate
nicely or at all with other frameworks (like spring for instance).
Romain Manni-Bucau [Mon, 22 Apr 2019 20:27:31 +0000 (22:27 +0200)]
BVAL-172 dropping LRUCache since it is not thread safe and cache size is bounded by deployed classes anyway, to enhance if needed
Romain Manni-Bucau [Fri, 19 Apr 2019 09:01:28 +0000 (11:01 +0200)]
BVAL-172 more thread safety in our caches
Romain Manni-Bucau [Mon, 15 Apr 2019 09:59:58 +0000 (11:59 +0200)]
[maven-release-plugin] prepare for next development iteration
Romain Manni-Bucau [Mon, 15 Apr 2019 09:55:17 +0000 (11:55 +0200)]
[maven-release-plugin] prepare release 2.0.2
Romain Manni-Bucau [Thu, 11 Apr 2019 14:48:27 +0000 (16:48 +0200)]
BVAL-170 perf boost for CDI integrations startup
Romain Manni-Bucau [Mon, 8 Apr 2019 08:30:55 +0000 (10:30 +0200)]
[maven-release-plugin] prepare for next development iteration
Romain Manni-Bucau [Mon, 8 Apr 2019 08:28:21 +0000 (10:28 +0200)]
[maven-release-plugin] prepare release 2.0.1
Matt Benson [Tue, 26 Feb 2019 19:17:37 +0000 (13:17 -0600)]
BVAL-171: permit ConstraintValidator impl with compatible annotation type parameter
Matt Benson [Tue, 26 Feb 2019 17:56:28 +0000 (11:56 -0600)]
BVAL-167: don't be fooled by inclusion of constrained interface at multiple hierarchy levels
Romain Manni-Bucau [Sun, 17 Feb 2019 11:20:26 +0000 (12:20 +0100)]
drop validations which should be redundant due to code path
Romain Manni-Bucau [Sun, 17 Feb 2019 11:10:18 +0000 (12:10 +0100)]
BVAL-170 cache first interpolation level of messages
Romain Manni-Bucau [Sun, 17 Feb 2019 11:01:55 +0000 (12:01 +0100)]
BVAL-170 skip interpolation when not needed
Romain Manni-Bucau [Sun, 17 Feb 2019 10:50:48 +0000 (11:50 +0100)]
BVAL-170 no need to test #{ in DefaultMessageInterpolator
Matt Benson [Sat, 16 Feb 2019 19:54:05 +0000 (13:54 -0600)]
add comment to clarify the purpose of the previous change
Matt Benson [Sat, 16 Feb 2019 19:52:43 +0000 (13:52 -0600)]
BVAL-170: improve speed of message interpolation when the pattern clearly cannot contain an EL expression; thanks to Thomas Andraschko
Matt Benson [Sat, 16 Feb 2019 19:44:56 +0000 (13:44 -0600)]
BVAL-170: minor performance improvements by Thomas Andraschko
Matt Benson [Fri, 8 Feb 2019 23:42:24 +0000 (17:42 -0600)]
cache constrained-ness of executable parameters/return values
Matt Benson [Fri, 8 Feb 2019 23:39:48 +0000 (17:39 -0600)]
remove unnecessary method call
Matt Benson [Fri, 8 Feb 2019 23:34:46 +0000 (17:34 -0600)]
shortcuts, hopefully
Matt Benson [Fri, 8 Feb 2019 23:24:57 +0000 (17:24 -0600)]
caching in the bean descriptor model
Matt Benson [Thu, 7 Feb 2019 22:12:00 +0000 (16:12 -0600)]
cache constrained container element types
Romain Manni-Bucau [Thu, 7 Feb 2019 09:24:49 +0000 (10:24 +0100)]
BVAL-170 ensure we don't go through class model for each call, cache Proxies.classFor result
Romain Manni-Bucau [Thu, 7 Feb 2019 09:14:58 +0000 (10:14 +0100)]
BVAL-170 more aggressive caching of interpolated messages
Romain Manni-Bucau [Thu, 7 Feb 2019 08:45:10 +0000 (09:45 +0100)]
BVAL-170 adding back some caching for resource bundle and reflection
Matt Benson [Fri, 9 Nov 2018 18:32:56 +0000 (12:32 -0600)]
BVAL-168: more notempty align with spec
Matt Benson [Fri, 9 Nov 2018 18:32:08 +0000 (12:32 -0600)]
Merge remote-tracking branch 'origin/master'
Matt Benson [Fri, 9 Nov 2018 18:31:26 +0000 (12:31 -0600)]
reorder, add missing, align with spec default validation messages
Matt Benson [Wed, 7 Nov 2018 15:28:55 +0000 (09:28 -0600)]
BVAL-168: NotEmpty validator should return false for null objects
Romain Manni-Bucau [Mon, 5 Nov 2018 09:53:37 +0000 (10:53 +0100)]
adding LiskovTest in ignored more to share the work to do on Liskov + some minor tweaks in tck (mainly logging and fixing a wrong license)
Matt Benson [Wed, 31 Oct 2018 16:21:04 +0000 (11:21 -0500)]
checking API signatures of available bean validation API (default geronimo) against published signature file in the tck-tests artifact
Matt Benson [Wed, 31 Oct 2018 15:43:47 +0000 (10:43 -0500)]
include JavaFX tests in bval-tck surefire execution
Matt Benson [Tue, 30 Oct 2018 17:33:24 +0000 (12:33 -0500)]
more site tweaks
Matt Benson [Tue, 30 Oct 2018 17:01:20 +0000 (12:01 -0500)]
site cleanup/beautification
Matt Benson [Tue, 30 Oct 2018 15:34:34 +0000 (10:34 -0500)]
prefer own classloader for validation schemae, which are bundled into same artifact
Matt Benson [Tue, 30 Oct 2018 14:41:24 +0000 (09:41 -0500)]
inline method
Matt Benson [Tue, 30 Oct 2018 14:41:14 +0000 (09:41 -0500)]
BVAL-166: update specification version in OSGi bundle to 2.0
Matt Benson [Tue, 30 Oct 2018 14:25:20 +0000 (09:25 -0500)]
remove obsolete class
Romain Manni-Bucau [Tue, 30 Oct 2018 13:41:59 +0000 (14:41 +0100)]
BVAL-165 tccl should always be preferred over class.getClassLoader since it is always possible to set it right and it enables tree classloading graphs to work (whereas the opposite breaks it by design)
Matt Benson [Tue, 23 Oct 2018 20:06:22 +0000 (15:06 -0500)]
[maven-release-plugin] prepare for next development iteration
Matt Benson [Tue, 23 Oct 2018 20:06:01 +0000 (15:06 -0500)]
[maven-release-plugin] prepare release 2.0.0-rc2
Matt Benson [Tue, 23 Oct 2018 20:01:39 +0000 (15:01 -0500)]
roll back failed release
Matt Benson [Tue, 23 Oct 2018 19:49:23 +0000 (14:49 -0500)]
revert to create zip source archive only and attach that archive per inherited org.apache:apache config
Matt Benson [Thu, 18 Oct 2018 19:15:28 +0000 (14:15 -0500)]
[maven-release-plugin] prepare for next development iteration
Matt Benson [Thu, 18 Oct 2018 19:15:09 +0000 (14:15 -0500)]
[maven-release-plugin] prepare release 2.0.0
Matt Benson [Thu, 18 Oct 2018 18:51:25 +0000 (13:51 -0500)]
add property with which jar Built-By manifest attribute can be customized
Matt Benson [Thu, 18 Oct 2018 18:33:27 +0000 (13:33 -0500)]
align specification info with RI
Matt Benson [Thu, 18 Oct 2018 18:33:05 +0000 (13:33 -0500)]
build both zip and tar.gz source archives; don't push these to Nexus
Matt Benson [Thu, 18 Oct 2018 18:32:37 +0000 (13:32 -0500)]
duplicate from parent
Matt Benson [Thu, 18 Oct 2018 17:41:17 +0000 (12:41 -0500)]
roll back release attempt
Matt Benson [Thu, 18 Oct 2018 17:23:31 +0000 (12:23 -0500)]
[maven-release-plugin] prepare for next development iteration
Matt Benson [Thu, 18 Oct 2018 17:23:12 +0000 (12:23 -0500)]
[maven-release-plugin] prepare release 2.0.0
Matt Benson [Thu, 18 Oct 2018 16:42:03 +0000 (11:42 -0500)]
remove Agimatech notice as underlying impl is no longer theirs
Matt Benson [Thu, 18 Oct 2018 16:24:57 +0000 (11:24 -0500)]
add 2.0.0 release notes
Matt Benson [Thu, 18 Oct 2018 16:04:45 +0000 (11:04 -0500)]
BVAL-162: convert remaining JUnit 3 tests to JUnit 4
Matt Benson [Thu, 18 Oct 2018 15:43:51 +0000 (10:43 -0500)]
update README
Matt Benson [Thu, 18 Oct 2018 15:43:35 +0000 (10:43 -0500)]
copyright update
Matt Benson [Thu, 18 Oct 2018 15:43:04 +0000 (10:43 -0500)]
ws
Matt Benson [Thu, 18 Oct 2018 15:14:05 +0000 (10:14 -0500)]
simplify MetadataSource initialization with default interface method
Matt Benson [Wed, 17 Oct 2018 22:17:55 +0000 (17:17 -0500)]
apply constraints cache size to constraint attributes cache used for annotation proxies
Matt Benson [Wed, 17 Oct 2018 21:40:40 +0000 (16:40 -0500)]
remove deprecated method
Matt Benson [Wed, 17 Oct 2018 21:35:57 +0000 (16:35 -0500)]
unused imports
Matt Benson [Wed, 17 Oct 2018 21:35:47 +0000 (16:35 -0500)]
efficiency
Matt Benson [Wed, 17 Oct 2018 21:30:16 +0000 (16:30 -0500)]
one size does not fit all: dedicated utility methods to get classloader preferring TCCL or per-class as appropriate (typically, user customizations are found in TCCL if at all; core functionality prefers its own classes' loaders). Aims to address multiple OSGI-related issues.
Matt Benson [Wed, 17 Oct 2018 21:19:58 +0000 (16:19 -0500)]
permit null participant classloaders as long as at least one present
Matt Benson [Wed, 17 Oct 2018 18:11:05 +0000 (13:11 -0500)]
add test for BVAL-158
Matt Benson [Wed, 17 Oct 2018 17:54:02 +0000 (12:54 -0500)]
BVAL-154: cache unconstrained types by type only and quickly return empty descriptors on subsequent fetches
Matt Benson [Wed, 17 Oct 2018 15:01:31 +0000 (10:01 -0500)]
set up publishing of generated site to subsection of CMS site
Matt Benson [Tue, 16 Oct 2018 19:06:39 +0000 (14:06 -0500)]
clean up Javadoc config so that site can generate cleanly
Matt Benson [Tue, 16 Oct 2018 18:06:33 +0000 (13:06 -0500)]
upgrade to latest tck
Matt Benson [Tue, 16 Oct 2018 17:30:37 +0000 (12:30 -0500)]
Merge remote-tracking branch 'origin/bv2' into bv2
Matt Benson [Tue, 16 Oct 2018 15:55:00 +0000 (10:55 -0500)]
upgrade tomcat-jasper-el to match API (EL 3.0)
Matt Benson [Mon, 15 Oct 2018 23:24:31 +0000 (18:24 -0500)]
disallow EL evaluation of custom message templates without explicit permission granted via configuration property
Matt Benson [Thu, 11 Oct 2018 01:59:00 +0000 (20:59 -0500)]
refactor DefaultMessageInterpolator to harden message interpolation
Matt Benson [Wed, 10 Oct 2018 18:57:56 +0000 (13:57 -0500)]
test refactoring
Matt Benson [Mon, 15 Oct 2018 19:20:29 +0000 (14:20 -0500)]
unused import
Matt Benson [Wed, 10 Oct 2018 18:20:47 +0000 (13:20 -0500)]
upgrade to geronimo spec release
Romain Manni-Bucau [Sun, 7 Oct 2018 15:57:16 +0000 (17:57 +0200)]
disabling doclint since our javadoc is not java 8 friendly yet + upgrading apache parent to hae the new gpg setup
Romain Manni-Bucau [Sun, 7 Oct 2018 15:37:37 +0000 (17:37 +0200)]
BVAL-159 drop commons dependencies
Matt Benson [Wed, 12 Sep 2018 13:34:15 +0000 (08:34 -0500)]
upgrade to Commons Weaver 2.0
Romain Manni-Bucau [Thu, 16 Aug 2018 07:51:12 +0000 (09:51 +0200)]
ensure TCCL is preferred over bval loader (OSGi+EE)
Mark Struberg [Sat, 9 Jun 2018 10:25:37 +0000 (12:25 +0200)]
fix encoding issue with the TCK the hardcore way...
nail it do EN
Mark Struberg [Sat, 9 Jun 2018 08:10:15 +0000 (10:10 +0200)]
BVAL-157 add a unit test for get() without name
Romain Manni-Bucau [Thu, 17 May 2018 05:14:48 +0000 (07:14 +0200)]
ensure to test more precisely getter names
Romain Manni-Bucau [Wed, 16 May 2018 20:52:43 +0000 (22:52 +0200)]
ensure isGetter methods are consistent between them