whitlock    2002/10/08 01:55:35

  Modified:    java/src/org/apache/wsif/util WSIFProperties.java
  Log:
  Change classloader used to load wsif.properties
  
  Revision  Changes    Path
  1.4       +3 -2      xml-axis-wsif/java/src/org/apache/wsif/util/WSIFProperties.java
  
  Index: WSIFProperties.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/util/WSIFProperties.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WSIFProperties.java       7 Aug 2002 15:10:26 -0000       1.3
  +++ WSIFProperties.java       8 Oct 2002 08:55:35 -0000       1.4
  @@ -88,8 +88,9 @@
               properties =
                   (Properties) AccessController.doPrivileged(new PrivilegedAction() {
                   public Object run() {
  -                    InputStream in =
  -                        
ClassLoader.getSystemResourceAsStream(WSIFConstants.WSIF_PROPERTIES);
  +                    InputStream in = 
(Thread.currentThread().getContextClassLoader())
  +                       .getResourceAsStream(WSIFConstants.WSIF_PROPERTIES);
  +
                       Properties p2 = new Properties();
                       try {
                           p2.load(in);
  
  
  


Reply via email to