Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.3
-
Fix Version/s: None
-
Labels:None
-
Environment:spring 2.0.1, JDK1.5_08, Windows XP
-
Number of attachments :
Description
This may hit you when you try to compile lingo against spring 2.0. However it is causing also some pain when JmsProxyFactoryBean is extended due to the inconsistent exception spec:
InitializingBean.afterPropertiesSet() throws Exception.
JmsProxyFactoryBean.afterPropertiesSet throws JMSException
If we want to extend JmsProxyFactoryBean and override afterPropertiesSet() (in short aPS), we have to convert the underlying super calls JMSException to a runtime exception otherwise java complains either that we cannot call the super method or that we cannot override InitializingBean.aPS().