You are probably importing the wrong Console; java.io.Console is final
Console isn't final, and definitely not so in the current versions of MASON. Not sure what's going on with your compiler.
> On Mar 8, 2018, at 11:37 AM, Peter Gacs <[log in to unmask]> wrote:
> I am trying to extend the Console by writing my own class extending it, since I need to add some options.
> Example: to save the state of the field of a cellular automaton (without saving everything into a checkpoint).
> The compiler says that the Console class is final and I am not allowed to extend it.
> This may have to do with the way MASON was compiled, but I don't see the cause. Any advice?