[RFC] Fix == and equals in JavaConsole
Thomas Meyer
thomas at m3y3r.de
Thu Mar 15 15:41:39 PDT 2012
Hello,
regarding JavaConsole: for what is this thing used? I did set
itweb-settings to enable the console on startup but nothing happens. bug
or feature?
attached patch is needed anyway.
kind regards
thomas
diff -r d2aff3800f4f plugin/icedteanp/java/sun/applet/JavaConsole.java
--- a/plugin/icedteanp/java/sun/applet/JavaConsole.java Thu Mar 08 15:54:39 2012 +0100
+++ b/plugin/icedteanp/java/sun/applet/JavaConsole.java Thu Mar 15 23:37:28 2012 +0100
@@ -307,7 +307,7 @@
boolean toShowConsole = false;
for (int i = 0; i < args.length; i++) {
- if (args[i] == "--show-console") {
+ if (args[i].equals("--show-console")) {
toShowConsole = true;
}
}
More information about the distro-pkg-dev
mailing list