classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Small URLClassLoader bug fix


From: Jeroen Frijters
Subject: Small URLClassLoader bug fix
Date: Sat, 19 Oct 2002 18:40:07 +0200

Hi,

After getting the latest code from CVS, I ran into a problem
(ClassFormatError). Turned out to be due to a small bug in
java.net.URLClassLoader.

269c269,272
<                 in.read(classData);
---
>                 int pos = 0;
>                 while(length - pos > 0) {
>                     pos += in.read(classData, pos, length - pos);
>                 }

Regards,
Jeroen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]