tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup Catalina.java CatalinaService.java
Date Thu, 24 Oct 2002 02:42:03 GMT
jfarcand    2002/10/23 19:42:03

  Modified:    catalina/src/share/org/apache/catalina/startup Catalina.java
                        CatalinaService.java
  Log:
  Wrongly recommend to protect o.a.coyote from package.access. The package can only be protection
agains insertion.
  
  Revision  Changes    Path
  1.51      +6 -6      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/Catalina.java
  
  Index: Catalina.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/Catalina.java,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- Catalina.java	16 Oct 2002 00:43:51 -0000	1.50
  +++ Catalina.java	24 Oct 2002 02:42:03 -0000	1.51
  @@ -485,7 +485,7 @@
                   access = "sun.,";
               Security.setProperty("package.access",
                   access + 
  -                "org.apache.catalina.,org.apache.jasper.,org.apache.coyote.,org.apache.tomcat.");
  +                "org.apache.catalina.,org.apache.jasper.");
               String definition = Security.getProperty("package.definition");
               if( definition != null && definition.length() > 0 )
                   definition += ",";
  @@ -495,7 +495,7 @@
                   // FIX ME package "javax." was removed to prevent HotSpot
                   // fatal internal errors
                   definition + 
  -                "java.,org.apache.catalina.,org.apache.jasper.,org.apache.coyote.,org.apache.tomcat.");
  +                "java.,org.apache.catalina.,org.apache.jasper.,org.apache.coyote.");
           }
   
           // Replace System.out and System.err with a custom PrintStream
  
  
  
  1.10      +6 -6      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/CatalinaService.java
  
  Index: CatalinaService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/CatalinaService.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- CatalinaService.java	16 Oct 2002 00:43:52 -0000	1.9
  +++ CatalinaService.java	24 Oct 2002 02:42:03 -0000	1.10
  @@ -217,7 +217,7 @@
                   access = "sun.,";
               Security.setProperty("package.access",
                   access +
  -               "org.apache.catalina.,org.apache.jasper.,org.apache.coyote.,org.apache.tomcat.");
  +               "org.apache.catalina.,org.apache.jasper.");
               String definition = Security.getProperty("package.definition");
               if( definition != null && definition.length() > 0 )
                   definition += ",";
  @@ -227,7 +227,7 @@
                   // FIX ME package "javax." was removed to prevent HotSpot
                   // fatal internal errors
                   definition +
  -                "java.,org.apache.catalina.,org.apache.jasper.,org.apache.coyote.,org.apache.tomcat.");
  +                "java.,org.apache.catalina.,org.apache.jasper.,org.apache.coyote.");
           }
   
           // Start the new server
  
  
  

--
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