This problem has been discussed before and it was suggested that it would be solved in the new version of Greenfoot. The problem occurs not in a program I've written myself but in a scenario the was posted in the Greenroom, namely the “Ausgangsszenario” of resource 51. It seems to me that it has something to do with the latest jdk, at least, it occurred first after I upgraded to jdk7. When a try to compile the Mover class from this scenario, a dialog will pop up with the message that the compiler wants to warn me about something and that i should use the -Xlint:unchecked flag to get more information. This warning is very annoying because every time I press the compile button the dialog will appear. There seems to be nothing wrong with the program; it used to compile smoothly.
Does somebody have an idea what goes wrong?
I’m using:
Greenfoot version: 2.1.2
Java version 1.7.0
Virtual machine: Java HotSpot(TM) 64-Bit Server VM 21.0-b17 (Oracle Corporation)
Running on: Windows 7 6.1 (amd64)
Thanks,
Sjaak