NetBSD-Java archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: openjdk 1.7.0 attempt

Patrick Welche wrote:
>I just had a go with jdk1.7.0-200905020i386-netBSD-5.0.tar.bz2 on a
>5.99.12/i386 box, and my first swing programme:


>% java hellow
>Exception in thread "AWT-EventQueue-0" 
>java.lang.ArrayIndexOutOfBoundsException: 0
>        at sun.awt.X11.XIconInfo.<init>(
>        at sun.awt.X11.XWindowPeer.getDefaultIconInfo(
>        at sun.awt.X11.XWindowPeer.updateIconImages(


I get the same error with any graphical application too.

I think this may be a build problem with the openjdk7-bin package.

The exception is generated because the arrays of icon data in rt.jar
are zero length. The class files containing the icon data have been
automatically generated from .png files using a java app (in which renders them then extracts the raw data.

I haven't found a way to get ToBin to fail yet, it still works if
DISPLAY isn't set. Which JDK was used to build the binary package ?

Robert Swindells

Home | Main Index | Thread Index | Old Index