Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

trouble with float/double array

807605Aug 6 2007 — edited Aug 6 2007
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

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 3 2007
Added on Aug 6 2007
2 comments
125 views