[Bug 732679] New: appletviewer only works intermittently
https://bugzilla.novell.com/show_bug.cgi?id=732679 https://bugzilla.novell.com/show_bug.cgi?id=732679#c0 Summary: appletviewer only works intermittently Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: i586 OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: lynn@steve-ss.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=464000) --> (http://bugzilla.novell.com/attachment.cgi?id=464000) classfile from javac User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16 An class compiled with javac which can be viewed OK in a browser does not show in appletviewer. The applet works fine with Ubuntu 11.10 appletviwer. Happens most of the time, nearly always. Reproducible: Sometimes Steps to Reproduce: 1.call a class from within an html tag 2.a.g. appletviewer MyClass.html 3. Actual Results: The applet sometimes shows. Expected Results: The applet always shows as many times as I want e.g. duringdebugging. Attached is the classfile for. . . HolaMundo.java import java.applet.*; import java.awt.*; public class HolaMundo extends Applet { public int width, height; public void init() { width = getSize().width; height = getSize().height; setBackground(Color.black); } public void paint(Graphics g) { g.setColor( Color.green ); g.drawString("Grafica en Java",20,20); g.drawLine (50,50, width-50, height-50); } } hm.html <applet code=HolaMundo.class width=400 height=300> </applet> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732679 https://bugzilla.novell.com/show_bug.cgi?id=732679#c1 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |mvyskocil@suse.com InfoProvider| |lynn@steve-ss.com --- Comment #1 from Michal Vyskocil <mvyskocil@suse.com> 2011-12-01 10:56:16 UTC --- I cannot reproduce it - running appleviewer hm.html with specified example works without any problem. Can you say me, which java package do you have installed? type appletviewer readlink -f /usr/bin/appletviewer /usr/sbin/update-alternatives --display java /usr/sbin/update-alternatives --display javaplugin -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732679 https://bugzilla.novell.com/show_bug.cgi?id=732679#c2 --- Comment #2 from lynn wilson <lynn@steve-ss.com> 2011-12-01 12:02:26 UTC --- Sorry, I can't. As this is a production box, I can't go back to the original openjdk as installed by default on 12.1. I had to get over the problem by installing oracles java. Currently I have this, which works. readlink -f /usr/bin/appletviewer /usr/bin/appletviewer /usr/sbin/update-alternatives --display java java - manual mode link currently points to /usr/java/jdk1.6.0_29/bin/java /usr/java/jdk1.6.0_29/bin/java - priority 40 /usr/lib/jvm/jre-1.5.0-gcj/bin/java - priority 1500 slave jre: /usr/lib/jvm/jre-1.5.0-gcj slave jre_exports: /usr/lib/jvm-exports/jre-1.5.0-gcj slave rmiregistry: /usr/lib/jvm/jre-1.5.0-gcj/bin/rmiregistry Current 'best' version is '/usr/lib/jvm/jre-1.5.0-gcj/bin/java'. /usr/sbin/update-alternatives --display javaplugin javaplugin - auto mode link currently points to /usr/java/jdk1.6.0_29/jre/lib/i386/libnpjp2.so /usr/java/jdk1.6.0_29/jre/lib/i386/libnpjp2.so - priority 1600 Current 'best' version is '/usr/java/jdk1.6.0_29/jre/lib/i386/libnpjp2.so'. Please close the bug report it if you can't reproduce it and/or no one else has reported it. Thanks for your time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732679 https://bugzilla.novell.com/show_bug.cgi?id=732679#c3 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|lynn@steve-ss.com | Resolution| |WORKSFORME --- Comment #3 from Michal Vyskocil <mvyskocil@suse.com> 2011-12-01 13:23:40 UTC --- Cannot reproduced with openjdk, closed as WORKSFORME. Feel free to reopen if you will have more information in the future. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com