I presently have a ServiceImpl class that has a static block with a simple
line of code that puts a map entry, and the map is defined in a base class
of this class. This works well enough.
I've changed this so that instead of the static block just putting the map
entry, it instead calls a method defined in the base class that puts the
map entry, and a few others, using reflection to determine the values.
As soon as I do this, my test fails with a weird timeout error, like this:
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for
service <Service>
at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup
.java:199)
at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup
.java:136)
I then tried copying the body of the method from the base class into the
static block in the derived class. This works fine.
Why would this happen?
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.