hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HADOOP-325) ClassNotFoundException under jvm 1.6
Date Tue, 27 Jun 2006 19:42:30 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-325?page=all ]
     
Doug Cutting resolved HADOOP-325:
---------------------------------

    Resolution: Fixed

I just committed this.  Thanks, Owen!

> ClassNotFoundException under jvm 1.6
> ------------------------------------
>
>          Key: HADOOP-325
>          URL: http://issues.apache.org/jira/browse/HADOOP-325
>      Project: Hadoop
>         Type: Bug

>   Components: ipc
>     Versions: 0.3.2
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>      Fix For: 0.4.0
>  Attachments: class-load-init.patch
>
> We have been having problems with classes that are returned by RPC methods not being
loaded/initialized correctly. The work around has been to put in the servers, code of the
form:
> static { new FooBar(); }  // to resolve the ClassNotFoundException for class FooBar.
> When I tried running under java 1.6, that stopped working because one of the classes
had to be instantiated from a package that didn't have visibility to create an instance. So
I tracked the problem down to how the classes were being loaded via reflection.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message