------- Comment #7 from tromey at gcc dot gnu dot org  2006-04-07 16:50 -------
Yes, we can use most of these sources, just not all of them.
I have a patch here which does it.  And we already have
stubbed declarations for most of the needed VM support.

To finish we need:

1. A script which takes the jsr166 source and strips out
everything copyright Sun (last time I did this by hand,
but we want to automate for future imports).

2. A script to change com.sun.Unsafe (or whatever it was called)
to gnu.classpath.Unsafe (a trivial sed would do).

3. We have to figure out how to handle some reflection permissions
calls in the concurrency code.  Nobody has really looked at this
yet; in my tree I have them commented out just to make it all compile.

At this point we could import, but it wouldn't work.
For it to work, VMs must implement the Unsafe API.

I can send my patch to anybody who wants it.
Perhaps I ought to upload it here... ?


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20247

Reply via email to