classpath
[Top][All Lists]
Advanced

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

Re: java.io.File and its native methods


From: Michael Koch
Subject: Re: java.io.File and its native methods
Date: Sat, 24 Apr 2004 08:54:50 +0200
User-agent: KMail/1.5.4

Am Freitag, 23. April 2004 23:28 schrieb Etienne Gagnon:
> This makes no sense whatsoever.  File is NOT VM-specific in any way.
>
> VM*.java should be reserved for the VM interface only.

The idea is to get native methods out of normal classes to make it 
possible for some JVMs to use GNU classpath at all. This is the VM 
interface in my opinion because some VMs dont wanna use our native 
methods at all and currently they have to replace java.io.File. That 
would be really bad and they have to take a look at each change in 
java.io.File on each new release.


Michael 


> Etienne
>
> Michael Koch wrote:
> > Hi list,
> >
> >
> > I started to do some GNU classpath/VM separation work. I decided to
> > split the native methods of java.io.File into its own VM class
> > called java.io.VMFile. The refactoring worked really smooth and so
> > I provide here the patch for discussion. I have one minor nitpick
> > myself VMFile is located in java/io/ currently. Before commiting I
> > will move it to vm/reference/java/io/.
> >
> > Please review and comment.
> >
> >
> > Michael





reply via email to

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