This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: libgcj on win32 (mingw) - target: java.io.File.listRoots(); doesn't work


> >>>>> 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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]