Note: in the editor the highlighter for "java" is called "jade", but neither "java" nor "jade" work in the example:
class Foobar { static { System.out.println("foobar.<cinit>"); } public final static String FOO_COMPILE_ZEIT_KONSTANTE = "foo"; public final static String FOO_LAUFZEIT_KONSTANTE = new String("foo"); public final static int BAR_COMPILE_ZEIT_KONSTANTE = 42; public final static int BAR_LAUFZEIT_KONSTANTE = new Integer(42).intValue(); } public class KonstantenTest { public static void main(String... _) throws Exception { System.out.println("Foobar.FOO_COMPILE_ZEIT_KONSTANTE = '" + Foobar.FOO_COMPILE_ZEIT_KONSTANTE); System.out.println("Foobar.BAR_COMPILE_ZEIT_KONSTANTE = '" + Foobar.BAR_COMPILE_ZEIT_KONSTANTE); System.out.println("Foobar.FOO_LAUFZEIT_KONSTANTE = '" + Foobar.FOO_LAUFZEIT_KONSTANTE); System.out.println("Foobar.BAR_LAUFZEIT_KONSTANTE = '" + Foobar.BAR_LAUFZEIT_KONSTANTE); } }
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tikiwiki.org instance. To start, simply select a version and click on "Create show2.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |