Java generics code compiles with javac, fails with Eclipse Helios

后端 未结 8 1630
挽巷
挽巷 2020-12-16 02:53

I have the following test class that uses generics to overload a method. It works when compiled with javac and fails to compile in Eclipse Helios. My java version is 1.6.0_2

8条回答
提交回复
热议问题