[logback-dev] svn commit: r2041 - logback-incubator/trunk/logback-as400/src/main/java/foo

noreply.ravn at qos.ch noreply.ravn at qos.ch
Mon Dec 1 10:52:08 CET 2008


Author: ravn
Date: Mon Dec  1 10:44:55 2008
New Revision: 2041

Modified:
   logback-incubator/trunk/logback-as400/src/main/java/foo/Bar.java

Log:
Class.getCanonicalName() does not exist in Java 1.4

Modified: logback-incubator/trunk/logback-as400/src/main/java/foo/Bar.java
==============================================================================
--- logback-incubator/trunk/logback-as400/src/main/java/foo/Bar.java	(original)
+++ logback-incubator/trunk/logback-as400/src/main/java/foo/Bar.java	Mon Dec  1 10:44:55 2008
@@ -3,6 +3,6 @@
 
 public class Bar {
 	public static void main(String[] args) throws Exception {
-		System.out.println(Class.forName("com.ibm.as400.access.AS400").getCanonicalName());
+		System.out.println(Class.forName("com.ibm.as400.access.AS400").getName());
 	}
 }
\ No newline at end of file


More information about the logback-dev mailing list