head	1.4;
access;
symbols
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.3
	RELEASE_4_5_0:1.3
	RELEASE_4_4_0:1.3
	RELEASE_4_3_0:1.3
	RELEASE_4_2_0:1.3
	RELEASE_4_1_1:1.3
	RELEASE_4_1_0:1.3
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2009.06.08.06.01.52;	author pgollucci;	state dead;
branches;
next	1.3;

1.3
date	2000.05.29.03.24.56;	author steve;	state Exp;
branches;
next	1.2;

1.2
date	2000.04.30.19.41.30;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.10.14.19.20;	author kuriyama;	state Exp;
branches;
next	;


desc
@@


1.4
log
@2009-06-09 www/apache-jserv: superceeded by tomcat
@
text
@--- src/java/org/apache/java/lang/AdaptiveClassLoader.java.orig	Sun Mar 12 06:34:42 2000
+++ src/java/org/apache/java/lang/AdaptiveClassLoader.java	Fri May 19 00:10:41 2000
@@@@ -723,6 +723,7 @@@@
             if ( zipfile != null ) {
                 try {
                     zipfile.close();
+                    zipfile = null;
                 } catch ( IOException ignored ) {
                 }
             }
@


1.3
log
@Update to version 1.1.1.

PR:		18668
Submitted by:	Palle Girgensohn <girgen@@partitur.se>
@
text
@@


1.2
log
@Portlint, deinstall cleanly, and put the .jar files where they belong.

PR:		17835
Submitted by:	Palle Girgensohn <girgen@@partitur.se>
@
text
@d1 3
a3 23
--- src/java/org/apache/java/lang/AdaptiveClassLoader.java.orig	Tue Feb  8 18:37:01 2000
+++ src/java/org/apache/java/lang/AdaptiveClassLoader.java	Tue Feb  8 20:33:18 2000
@@@@ -661,7 +661,18 @@@@
             ZipEntry entry = zipfile.getEntry(name);
 
             if (entry != null) {
-                return zipfile.getInputStream(entry);
+                InputStream stream = zipfile.getInputStream(entry);
+                byte data[] = new byte[(int)entry.getSize()];
+		for(int i = 0 ; i < data.length ;) {
+			int size = stream.read(data, i, data.length - i);
+			if(size < 0) {
+				stream.close();
+				return null;
+			}
+			i += size;
+		}
+		stream.close();
+                return new ByteArrayInputStream(data);
             } else {
                 return null;
             }
@@@@ -671,6 +682,7 @@@@
@


1.1
log
@Update to v1.1.

Submitted by:	greg@@greg.rim.or.jp (Kensaku Masuda)
PR:		ports/16600

# I don't like to use directory ${PREFIX}/docs.  But it seems it is
# difficult to move it to somewhere.
@
text
@d19 1
a19 1
+                return new ByteArrayInputStream(data);;
@

