I'm having trouble trying to create an array using float or double type. I'm writing a BlackBerry application using RIMs JDE, version 4.1.0.185. What happens is when I set a breakpoint any time after this array declaration has executed, the debugger freezes. This may be an issue with the JDE, not sure - but thought I'd post it here in case someone might see something I'm doing wrong with the language.
Strange thing is, when I change the array to any form of an int or long, it's fine. But with float or double, the debugger chokes. Even tried using strictfp (long shot, but don't know what else to try).
Here's the code:
public class myClass {
private double [] C = new double [4]; // any of these variations cause the problem
private double [][] C = new double [4][4];
private float [] C = new float [4];
private float [][] C = new float [4][4];
TIA