Clone Tools
  • last updated a few minutes ago
Constraints: committers
Constraints: files
Constraints: dates
Moved all test base classes to src/test/java

- This makes sure applications can compile in strict

mode without inheriting the JUnit GWT module

- To use our test base classes for application tests

the corresponding test-jar has to be included i.e.







  1. … 35 more files in changeset.
Refactoring: clarifying comment in AbstractCDIEventCallback

Resolve ERRAI-766: add destroy method to client-side Instance implementation.

  1. … 1 more file in changeset.
Fix select method in client-side Instance implementation.

Fix select method in client-side Instance implementation.

Make sure test failures in asyncTest don't get swallowed

Use one-time init callback in AbstractErraiCDITest.asyncTest (fixes test failures in errai-cdi-async-tests).

Performance improvement for IOC generation (faster method param scanning)

- Scanning only methods in reloadable classes manually, relying on reflections for the rest

  1. … 4 more files in changeset.
Fixed ERRAI-679: Observing java.lang.Object leads to code overload in BootsrapperImpl

  1. … 1 more file in changeset.
Fixed event advertising tests

- Now tearing down and stopping the fake bus instance

- Depending on the executing order, our event advertising tests caused failures in other CDI tests. The reason was that CDIClientBoostrap held on to static references of errai bus.

  1. … 1 more file in changeset.
Fixed bug that caused intermittent failures in EventObserverIntegrationTest

The problem was that we relied on a runtime check (canMarshall) to decided whether or not to advertise a CDI event type to the server. However, this check will always fail for abstract types as canMarshall will return false. So whenever the bus reconnected we failed to advertise observable interfaces and abstract types to the server. Since we already collect all local-only event types on startup this check can now be removed.

    • -17
    • +8
  1. … 1 more file in changeset.
Perf. improvement for IOC bootstrapper generation

Only consider reloadable types when scanning for subtypes in the metaclass cache. Non-reloadable types (types in JARs that can't change in devmode) can be scanned using reflections which is significantly faster because the data is already cached.

  1. … 5 more files in changeset.
Replace framework calls from LogUtil to gwt-slf4j.

    • -3
    • +6
  1. … 19 more files in changeset.
Don't attempt to send RemoteSubscribe if bus is disconnected.

Doing so was causing RemoteSubscribes to be issued twice at startup.

    • -2
    • +14
Follow-up for ERRAI-649

Had previously overlooked CDI#resendSubscriptionRequestForAllEventTypes

which remotely registers all event beans.

I have added a set which tracks local event bean types so that they are

not registered when that method is called.

    • -22
    • +34
ERRAI-649: @LocalEvent prevents remote subscription @Portable typed events.

  1. … 2 more files in changeset.
Fixed ERRAI-646: Destroying beans that have observers no longer causes unconditional CDI remote unsubscribe messages

We now first check if other matching local observers are present before unsubscribing from remote events of that type and qualifiers.

    • -14
    • +15
  1. … 2 more files in changeset.
Fixed ERRAI-632: ConcurrentModificationException during client-side CDI event dispatch

    • -1
    • +1
  1. … 1 more file in changeset.
Fixed bug that caused client to request non-portable CDI events from server after a bus reconnect

    • -8
    • +12
  1. … 1 more file in changeset.
Fixed ERRAI-592: CDI observers on client don't see server events after QueueSession or HttpSession is renewed

    • -9
    • +37
  1. … 3 more files in changeset.
Ensured CDI subsystem is activated (and @AfterInitialization fires) even if weld-integration is not used on the server.

This is part of the fix to ERRAI-599.

Fixed ERRAI-599: Client side CDI module cannot be used without the server side weld integration module

code cleanup

  1. … 11 more files in changeset.
- Massive refactoring to bus API - @Disposes methods now work properly with the async bean manager.

    • -4
    • +4
  1. … 243 more files in changeset.
massive code cleanup. even more stuff moved out of ClientMessageBusImpl.

    • -12
    • +4
  1. … 11 more files in changeset.
MASSIVE bus refactoring. Bus now has a modular transport layer. All unit tests now passing. Some things still not done, however.

    • -21
    • +7
  1. … 38 more files in changeset.
- first stab at refactoring the bus to move the transport implementations out of the main message bus code. (most tests passing)

    • -3
    • +0
  1. … 26 more files in changeset.
Events and CDI ApplicationScoped producers fixed!

    • -21
    • +77
  1. … 14 more files in changeset.
V3 protocol now working properly

  1. … 3 more files in changeset.
configure test resources correctly in POMs

  1. … 6 more files in changeset.