Community
Participate
Working Groups
The following method: class foo { protected static <T extends Exception> void foo() throws T {} } yields the following signature when compiled with Sun's Javac. <T:Ljava/lang/Exception;>()V^TT; when compiling it using the Eclipse compiler, you get: <T:Ljava/lang/Exception;>()VTT; i.e., the '^' is missing from the throws signature.
Added GenericTypeTest#test557. Fixed
The '^' is needed in front of each exception. Added regression test GenericTypeTest#test558. I also added new tests in the SignatureTests.testGetThrownExceptionTypes().
*** Bug 89454 has been marked as a duplicate of this bug. ***
Verified in 20050330-0500