java settings

I get hundreds of warnings

"Cannot determine if container assignment is using container type."

and

"Cannot determine if container access is using container type."

but the program runs ok and I do not wish to correct the program at the moment to avoid these warnings.

Instead I would like to change the compiler settings for this issue from "warning" to "ignore".

I looked at eclipse-> settings-> java and tried to change many options from "warning" to "ignore" but do not seem to find the right one.

Is there a setting to get rid of above warnings? Thanks.

  • You are probably using the 4.1.6 or 4.1.7 SDK, which has type checking on by default.  If you want to turn it off for your project for now, add this line to your monkey.jungle file:

    project.typecheck = 0

    If that clears up the issue, you can comment out the line if you want to adapt your code for type checking.

  • Hello Jim, you're still there? I was not here for about a year, but had lots of help from you before.

    Indeed, my version is 4.1.7 SDK, and after adding the proposed line in the monkey.jungle file the warnings disappeared.

    Thanks, Arjen.