Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#4208: implemented getBeanClass in SupplierBeanBridge (see below)
The method JersetBean.getBeanClass is used to compute the bean identifier. The default id for a JerseyBean<T> is "java.lang.Object#jersey", causing collisions of bridge instances. In particular, for HelloWorldResourceTest, Weld's MapBeanStore returned a SupplierInstanceBeanBridge instead of the expected SupplierBeanBridge, because both shared the same bean identifier. Signed-off-by: pappy <pappy.stanescu@gmail.com>
- Loading branch information