[Bluej-discuss] Codepad Bug?

Brad Richards ber at acm.org
Sat Oct 27 20:18:22 BST 2007


Hi all,

When running BlueJ 2.2.0 with Java 1.6 on a Windows XP machine, I'm 
not able to create array variables in the codepad.  For example:

>  int[] nums;
  Error: incompatible types - found int but expected int[]
>  int[] nums = {1,2,3};
  Error: cannot find symbol - constructor Integer(int[])

I know this used to work.  It still *does* work on my Mac, running 
BlueJ 2.2.0 with Java 1.5.  (I don't have access to a Windows machine 
with Java 1.5 or I'd try that mix as well.)  Is this behavior a 
result of the change in Java versions, or a bug in the codepad?  Does 
anyone have a workaround for this?

Thanks,
     Brad



More information about the bluej-discuss mailing list