Closed c15rl closed 10 years ago
this has to do with the creation of an array of a generic type, specifically you cannot do that in java. honestly, I don't understand why, I think it is a weakness in java. That 'unchecked' makes java do it anyway. This was how people suggested solving the problem.
Here is more information. http://stackoverflow.com/questions/529085/how-to-generic-array-creation
I basically think it is a java bug. java developers say it is a security feature.
What is "unchecked" in the class Queue?