Date: Sun, 2 Apr 2000 14:19:02 +0100 (BST) From: Robert Swindells <rjs@fdy2.demon.co.uk> To: fuyuhik8@is.titech.ac.jp Cc: freebsd-java@freebsd.org Subject: Re: Pre-alpha JDK 1.2.2 patches -- update Message-ID: <200004021319.OAA00544@fdy2.demon.co.uk> In-Reply-To: <20000402041626X.fuyuhik8@is.titech.ac.jp> (message from Maruyama Fuyuhiko on Sun, 02 Apr 2000 04:16:26 %2B0900)
next in thread | previous in thread | raw e-mail | index | archive | help
>I found another problem with pre-alpha patches. It may be a >Motif-side problem. I'm building JDK with Motif-2.1.20 by Software2Go >and found the awt doesn't work. To write more precicely, the Motif >library I use needs libXp linked with, but current JDK patches doesn't >so. I don't know whether this problem appear with another Motif or >Lesstif. This can be simply resolved by adding -lXp in OTHER_LDLIBS >line at build/freebsd/sun/awt/GNUmakefile: >OTHER_LDLIBS = -lmlib_image$(SUFFIX) $(LIBCXX) $(JVMLIB) -lXm -lXp -lXt -lXext -lXtst -lX11 -lm I needed to do the same for Metro Link Motif-2.1.10. >If I link libXp.so into libawt.so, sample programs seem to work at >least for a few minutes. Some minutes after, programs went away ;-< >I think current porting have some serious problems on multi-threading >support. But at this time, I don't know those precicely. I don't get that far. I can run some of the demo applets, but all of the JFC demos give errors. The one from Metalworks is: Unexpected error. Program Terminated java.lang.IllegalArgumentException: Raster ShortInterleavedRaster: width = 64 height = 64 #numDataElements 1 is incompatible with ColorModel DirectColorModel: rmask=7c00 gmask=3e0 bmask=1f amask=0 at java.awt.image.BufferedImage.<init>(BufferedImage.java:521) at sun.awt.image.OffScreenImage.<init>(OffScreenImage.java:70) at sun.awt.motif.MComponentPeer.createImage(MComponentPeer.java:310) at java.awt.Component.createImage(Component.java:2095) at javax.swing.plaf.metal.BumpBuffer.<init>(MetalBumps.java:152) at javax.swing.plaf.metal.MetalBumps.createBuffer(MetalBumps.java:65) at javax.swing.plaf.metal.MetalBumps.setBumpColors(MetalBumps.java:100) at javax.swing.plaf.metal.MetalBumps.<init>(MetalBumps.java:57) at javax.swing.plaf.metal.MetalBorders$ToolBarBorder.<init>(MetalBorders.java:281) at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:376) at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:65) at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:714) at javax.swing.UIManager.setLookAndFeel(UIManager.java:363) at javax.swing.UIManager.setLookAndFeel(UIManager.java:390) at Metalworks.main(Metalworks.java:48) I have spent this morning editing font.properties to work with the URW fonts. I will post it if people are interested. Robert Swindells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004021319.OAA00544>