Date: Tue, 20 Jun 2000 20:07:12 +0300 From: Panagiotis Astithas <past@netmode.ntua.gr> To: Greg Lewis <glewis@trc.adelaide.edu.au> Cc: Rob Furphy <rcf@ox.com>, "freebsd-java@FreeBSD.ORG" <freebsd-java@FreeBSD.ORG> Subject: Re: Native JDK sound Message-ID: <20000620200712.A24209@netmode.ece.ntua.gr> In-Reply-To: <200006192143.HAA78923@ares.trc.adelaide.edu.au>; from glewis@trc.adelaide.edu.au on Tue, Jun 20, 2000 at 07:13:45AM %2B0930 References: <394E8AD9.25790642@ox.com> <200006192143.HAA78923@ares.trc.adelaide.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 20, 2000 at 07:13:45AM +0930, Greg Lewis wrote: > Rob Furphy wrote: > > Thought I'd share what I've found in case anyone is also looking into > > this. > > I'm not looking into it, but I'm very interested :) > > > I have tested the Java2D demo in the JDK build under every patchset back > > to patchset 5(had to rebuild that one). I tried to investigate the issue, but I got this: laptop$ java -jar Java2Demo.jar Exception in thread "main" java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0 at java.awt.image.SampleModel.<init>(SampleModel.java:100) at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:109) at java.awt.image.Raster.createPackedRaster(Raster.java:598) at java.awt.image.Raster.createPackedRaster(Raster.java:412) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:633) at java.awt.image.BufferedImage.<init>(BufferedImage.java:245) at TextureChooser.getTextTexture(TextureChooser.java:102) at TextureChooser.<init>(TextureChooser.java:63) at Controls.<init>(Controls.java:94) at Java2Demo.<init>(Java2Demo.java:109) at Java2Demo.main(Java2Demo.java:460) ^C when the application was showing "Loading: init" and a bar 15% full. I have patchset 9, 4-STABLE, no JIT/OpenJIT, XFree86 3.3.5, Lesstiff. The linux-jdk works fine with Java2Demo, except that it does not play any sound (no error messages either). Anybody has a clue? -past 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?20000620200712.A24209>