tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/compat Jdk11Compat.java
Date Tue, 03 Dec 2002 07:31:41 GMT
billbarker    2002/12/02 23:31:41

  Modified:    src/share/org/apache/tomcat/util/compat Jdk11Compat.java
  Log:
  Add detection for 1.4 JVM
  
  Currently not used.
  
  Revision  Changes    Path
  1.15      +3 -0      jakarta-tomcat/src/share/org/apache/tomcat/util/compat/Jdk11Compat.java
  
  Index: Jdk11Compat.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/compat/Jdk11Compat.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Jdk11Compat.java	13 Sep 2002 04:47:02 -0000	1.14
  +++ Jdk11Compat.java	3 Dec 2002 07:31:41 -0000	1.15
  @@ -172,6 +172,7 @@
       public static final String JAVA_1_1 = "1.1";
       public static final String JAVA_1_2 = "1.2";
       public static final String JAVA_1_3 = "1.3";
  +    public static final String JAVA_1_4 = "1.4";
   
       static String javaVersion;
       static boolean java2=false;
  @@ -195,6 +196,8 @@
               javaVersion = JAVA_1_2;
               Class.forName("java.lang.StrictMath");
               javaVersion = JAVA_1_3;
  +	    Class.forName("java.lang.CharSequence");
  +	    javaVersion = JAVA_1_4;
           } catch (ClassNotFoundException cnfe) {
               // swallow as we've hit the max class version that we have
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message