libgcj on win32 (mingw) - target: java.io.File.listRoots(); doesn't work
Erik Poupaert
erik.poupaert@chello.be
Mon Feb 24 01:04:00 GMT 2003
> >>>>> does anybody have an idea how I can get this working? I don't have
any
> >>>>> know-how in gcc/gcj hacking myself so I'm stuck with it.
>> The SWT fileviewer example contains a workaround that you can rip ad
> libidum. It's excessively ugly, but I guess it's about the only way to
make
> these things work (on the JDK as well):
>>>>> It's a native method thing you must implement properly using Microsoft
>>>>> APIs (available under mingw).
True, but I guess that won't happen tomorrow before lunch.
And even then, someone will have to re-patch & re-build libjava for minGW.
In the meanwhile, the ugly SWT-inspired hack could be employed to do the
trick. Of course, I suggest to back out such ugly patch when the proper
solution becomes generally available over the next few weeks (or months).
More information about the Java
mailing list