java.lang.ArithmeticException: / by zero
Dmitry Vyazelenko
vyazelenko at yahoo.com
Thu Sep 21 17:30:02 UTC 2017
Hi,
Using JOL 0.8 and 0.9-SNAPSHOT I get the following exception:
Exception in thread "main" java.lang.ArithmeticException: / by zero
at org.openjdk.jol.info.GraphLayout.toImage(GraphLayout.java:354)
at DivisionByZero.main(DivisionByZero.java:8)
From the following code:
import org.openjdk.jol.info.GraphLayout;
import java.io.IOException;
public class DivisionByZero {
public static void main(String[] args) throws IOException {
int[] array = new int[10];
GraphLayout.parseInstance(array).toImage("array.jpg");
}
}
Best regards,
Dmitry Vyazelenko
More information about the jol-dev
mailing list