Hello. I want to report a bug in newer version of aide (3.2.210301).
Just test this below code in new aide version and get some error! Please help me.
ArrayList al = new ArrayList()
{
{
add(“a”);
}
};
Last AIDE version have problem!
I think you wanted to do the following:
ArrayList al = new ArrayList();
al.add(“a”);
Or
ArrayList al = new ArrayList<>();
al.add(“a”);
I tried another approach. The second attempt was to extend ArrayList, and then AIDE claims we need to implement some Abstract methods of List. It is an error because ArrayList shouldn’t have abstract methods, and if it had, we couldn’t instantiate it. If we try to use the fix suggested by AIDE it will generate all the methods for us, but many errors call them incompatible.
Yes. I know this way. But my point is that aide should not give this error. This is a shortcut way.
Thank you for your review. This problem was not present in previous versions of AIDE. Let’s inform the manufacturer faster.