k-pet-group / BlueJ-Greenfoot

BlueJ and Greenfoot
Other
94 stars 32 forks source link

[BLUEJ-1287] No warning on compiling unsafe collection code #1261

Closed neilccbrown closed 1 year ago

neilccbrown commented 5 years ago

This code should generate a warning message:

import java.util.ArrayList;

public class TestRaw

{ private ArrayList g = new ArrayList(); }

I believe this is set using the the bluej.defs option

bluej.compiler.unchecked=true

However this no longer seems to work. Also affects Version 5.

 


Issue metadata

neilccbrown commented 1 year ago

This falls under #1077; we don't currently display any warnings in the Java editor. If we fix that issue, this one will also be resolved.