is not supported by Java Runtime Environment 8. What is the alternative way to achieve it?
I tried to create heap using ArrayList
as follows:
ArrayList<E>list = new ArrayList<E>(length);
It doesn't work. Eclipse requested to change JRE environment to an older version...