On Sun, Mar 04, 2007 at 02:18:32AM +0200, Timo Juhani Lindfors wrote: > Package: classpath > Version: 2:0.92-4 > Severity: normal > > Steps to reproduce: > 1) cat > jmenu.java << EOF > import javax.swing.*; > import java.awt.*; > public class jmenu extends JFrame { > public static void main(String[] args) { > (new jmenu()).show(); > } > public jmenu() { > JMenuBar mb = new JMenuBar(); > this.setJMenuBar(mb); > JMenu m = new JMenu("menu0"); > mb.add(m); > JMenuItem mi = new JMenuItem("menuitem0"); > m.add(mi); > m.add(mi); > this.setSize(new Dimension(600, 600)); > } > } > EOF > 2) ecj jmenu.java > 3) jamvm jmenu.java > > Expected results: > 3) A window shows up, it has menu "menu0" which includes "menuitem0" menuitem > > Actual results: > 3) A window shows up bit it has no visible menu bar at all. > > More info: > 1) The above works in debian testing, I see the problematic behavior > only in unstable. > > 2) In addition to jamvm the bug is reproducible with gij-4.1 and > cacao. However, I see the menu in kaffe. This made me think the bug is > probably in classpath and not in any individual virtual machine. > > 3) I haven't tested with classpath cvs head since I couldn't figure > out how to tell cacao to use classpath cvs head (I did manage to build > classpath cvs head with ecj though and I can compile java 1.5 programs > with > > ecj -1.5 -bootclasspath > ~/installdir/classpath-2007-01-22/share/classpath/glibj.zip "$@" > > ) > > Please let me know if you can't reproduce the bug. I'm happy to > provide more info.
Can you please test with classpath from experimental? Experimental contains 0.93. Cheers, Michael -- .''`. | Michael Koch <[EMAIL PROTECTED]> : :' : | Free Java Developer <http://www.classpath.org> `. `' | `- | 1024D/BAC5 4B28 D436 95E6 F2E0 BD11 5923 A008 2763 483B -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]