When creating a verticle that overrides the Verticle#start(Promise<Void) method, this module doesn't work correctly and fails to call start.
This is because GuiceVerticleLoader has no implementation of the promise method, which means execution falls to the default method in the Verticle interface. This eventually leads to the GuiceVerticleLoader attempting to call the real verticle's #start(Future<Void> method, rather than the Promise one.
So added the start(Promise<Void>) implementation to GuiceVerticleLoader and created a new test for it.
When creating a verticle that overrides the
Verticle#start(Promise<Void)
method, this module doesn't work correctly and fails to call start.This is because
GuiceVerticleLoader
has no implementation of the promise method, which means execution falls to the default method in theVerticle
interface. This eventually leads to theGuiceVerticleLoader
attempting to call the real verticle's#start(Future<Void>
method, rather than the Promise one.So added the
start(Promise<Void>)
implementation toGuiceVerticleLoader
and created a new test for it.