Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-10345 Remove jboss-marshalling dependency from commons and core.

Default user marshaller is now JavaSerializationMarshaller.

  1. … 174 more files in changeset.
ISPN-10028 Deprecate ConcurrentWeakKeyHashMap

  1. … 1 more file in changeset.
ISPN-8320 Fix bad html tags in javadocs caused by < > around author email addresses

  1. … 184 more files in changeset.
ISPN-9116 Server marshallers/transcoders don't support whitelist when deserializing

    • -0
    • +30
    ./CheckedClassResolver.java
  1. … 86 more files in changeset.
ISPN-9116 Server marshallers/transcoders don't support whitelist when deserializing

    • -0
    • +30
    ./CheckedClassResolver.java
  1. … 86 more files in changeset.
ISPN-7420 Hot Rod enhancements for transcoding

  1. … 143 more files in changeset.
ISPN-8974 Nullify marshaller/unmarshaller is instance cache too big

Porting ISPN-7781 and ISPN-8624 to 9.1.x

  1. … 6 more files in changeset.
ISPN-8624 Custom marshaller implementors should verify class names

* Add documentation entry to make sure any custom marshaller

implementations implement white class name verification.

  1. … 2 more files in changeset.
ISPN-8624 White list unmarshalling for GenericJBossMarshaller

  1. … 5 more files in changeset.
ISPN-8624 White list unmarshalling for GenericJBossMarshaller

  1. … 5 more files in changeset.
Make all Log static fields private

  1. … 20 more files in changeset.
ISPN-3391 Upgrade to JBoss Marshalling 2.0.0.Beta3

  1. … 4 more files in changeset.
ISPN-3391 Upgrade to JBoss Marshalling 2.0.0.Beta3

  1. … 4 more files in changeset.
ISPN-6906 New marshaller w/ manual encoding

* Global marshaller now deals directly with all possible marshallable

types: null, primitives, internal externalizers, external

externalizers. If type does not fit into any of this, it's considered

unknown and pass to an external marshaller.

* Marshalling happens directly into a byte[] since that's the main

expected type by other layers, but this might change in the future as

off-heap and optimizations are done for other consumers.

* Simplified reading in CacheRpcCommandExternalizer to avoid wrapping

ObjectInput in an InputStream. Simply read of the given ObjectInput.

Same optimization has been applied at write time.

* Added null object handling in buffer size predictor since it makes

client code less complicated.

* Added white-list checking of classes that are expected to be

marshalled internally. This check is an assert and hence should not

be enabled at runtime.

* Deleted SharedStreammultimarshallertest since the use case is no

longer needed as a result of removing the separation between global

and cache marshaller (ISPN-6905).

* The new marshaller does not have an instance cache although one can be

provided for specific types by extending

InstanceReusingAdvancedExternalizer. As a result of not having a

default instance cache, when retrieving the entries to send as part of

the listener state, half of those entries come from a different node

when owners=1. With all these entries referencing GODZILLA byte[], the

old JBMAR marshaller was detecting a shared instance and reusing

it. The new marshaller does not do this by default and hence treats

each byte[] differently and the test blows.

* This circumstance is artificial and don't think it tends to happen in

real life, so the best option I found is to convert test to using

replicated caches and avoid the intra-cluster marshalling issue.

* Besides, this test's objective is not to stress the intra-cluster

marshalling layer, but how the client/server network layer handles big

object, which it remains intact.

* The external marshaller configurable.

* Removed ExternalizerTable

* Cleanup unusued internal externalizers

  1. … 33 more files in changeset.
ISPN-5683 Removed whitespaces at the end of the lines

  1. … 276 more files in changeset.
ISPN-5683 Organized imports

  1. … 2823 more files in changeset.
ISPN-6905 Remove CacheMarshaller

* Per-cache marshaller is no longer supported since ClassLoader

instances are associated with the CacheManager.

  1. … 36 more files in changeset.
ISPN-5553 Avoid lambda naming confusion

  1. … 14 more files in changeset.
ISPN-5553 Lambda serialization refactoring

* Revert changes to add value matcher to @SerializeWith and instead

create a dedicated annotation, @SerializeLambdawith, for lambda

serialization which can provide value matcher information.

* Add LambdaExternalizer as a subclass of AdvancedExternalizer to be

annotation-less approach to defining advanced externalizers.

* These LambdaExternalizer instances, since they subclass

AdvancedExternalizer, they can be defined using same configuration as

for AdvancedExternalizers.

  1. … 19 more files in changeset.
ISPN-5494 Node replies with NullPointerException during shutdown

Replace the exception with a CacheNotFoundResponse

  1. … 3 more files in changeset.
ISPN-5494 Node replies with NullPointerException during shutdown

Replace the exception with a CacheNotFoundResponse

  1. … 3 more files in changeset.
ISPN-4450 When using rawValues, and no custom marshaller has been provided, use a GenericJBossMarshaller configured to use the TCCL

  1. … 1 more file in changeset.
ISPN-3850 OsgiClassLoader, removed Configuration#classLoader, flattened FileLookup concept

ISPN-800 OSGi corrections provided by camel-infinispan-osgi

ISPN-3850 made OsgiClassLoader singleton, held Bundle references are

weak

ISPN-800 corrected compile issues in other modules, cleanup, formatting

ISPN-3849 introduced OSGi service loading, improved ServiceFinder,

replaced all direct uses of ServiceLoader

ISPN-3850 check for ACTIVE Bundle state

ISPN-800 dynamic OSGi manifest package versions

ISPN-3849 if no CLs given to ServiceFinder then attempt ServiceLoad without one, corrected CodecRegistry's use of ServiceFinder

ISPN-800 cleaned up manifest imports of internal packages

ISPN-3850 corrected repeated calls to WeakReference#get

ISPN-800 corrected a few uses of ${project.version}

ISPN-3849 FileLookup-related compile errors

ISPN-800 fix test failures

* don't assume the OSGi classes will be available at runtime

* define org.infinispan.commons as a dependency of org.jboss.as.clustering.jgroups

ISPN-4232 HotRod client cannot be installed in Karaf due to missing dependency on infinispan-core

Make infinispan-commons a standalone bundle.

ISPN-4234 OSGi core bundle - missing javax.security.* dependency

ISPN-4241 Distexec cannot clone tasks for distributed executions in Karaf

Changed the OSGi headers for infinispan-commons to include DynamicImport-Package=* as the marshaller needs to be able to load classes from client bundles.

fix

ISPN-4332 Add the possibility to run tests with Geronimo Transaction Manager

* run the tests with -Dinfinispan.test.jta.tm=geronimotm

Conflicts:

core/src/test/java/org/infinispan/test/fwk/TestCacheManagerFactory.java

parent/pom.xml

ISPN-4332 If we catch an exception during commit, we initiate a rollback (TransactionCoordinator.handleCommitRollback) and consequently signal this unilateral decision to the TM with an XA_HEURRB exception.

Narayana throws this to the user as a RollbackException whilst Geronimo throws it as an HeuristicRollbackException, so tests needed to be updated to cover both scenarios.

ISPN-4332 Associating the same transaction with multiple threads is not something JTA spec covers, so we shouldn't expect this behaviour from Geronimo.

ISPN-4331 Add searching for TransactionManager in OSGi to GenericTransactionManagerLookup

Conflicts:

core/src/main/resources/features.xml

integrationtests/osgi/src/test/resources/test-features.xml

  1. … 89 more files in changeset.
ISPN-4074 Introduce a doclet to filter out private APIs from the JavaDoc

- Add package-info.java file for all public packages which need to be documented

- Separate interfaces from implementations by creating appropriate "impl" packages

- Remove legacy classes and interfaces which have moved to commons

  1. … 458 more files in changeset.
BZ1014655 ISPN-4074 Only include public APIs in JavaDoc

  1. … 50 more files in changeset.
ISPN-800 OSGi corrections provided by camel-infinispan-osgi

  1. … 1 more file in changeset.
ISPN-3777 ThreadLocal in AbstractInvocationContextContainer is leaking instances of LocalTxInvocationContext

* InvocationContextInterceptor now sets the InvocationContext thread-local

* Batching mode now also uses InvocationContextInterceptor, so there is

only one place where the thread local is set/removed.

* InvocationContextFactory was extracted from InvocationContextContainer

* The thread-local is not set when the classloader is not needed, or when

the call classloader (either from AdvancedCache.with(ClassLoader) or from

the thread's context classloader) is the same as the configured

classloader (by default, the context classloader of the thread that

created the GlobalConfiguration).

* DefaultContextClassResolver now prefers the classloader in the

configuration to the current thread's context classloader (but if they

are different, the context classloader was already set in the

InvocationContext and returned by EmbeddedContextClassResolver).

  1. … 42 more files in changeset.
ISPN-3659 Cache stop should clear thread-local ExtendedRiverMarshaller or their instance caches

  1. … 2 more files in changeset.
ISPN-3516 Remove deprecated API

* StreamingMarshaller.startObjectOutput method

  1. … 7 more files in changeset.