ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38732] - rmic task doesn't work with -Xnew and JDK 6.0
Date Wed, 23 Aug 2006 11:51:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38732>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38732





------- Additional Comments From stevel@apache.org  2006-08-23 11:51 -------
If we look at the rmic source

http://www.cs.duke.edu/csed/java/source1.5/src/share/classes/sun/rmi/rmic/Main.java

we can see that -xnew triggers a load+invoke of sun.rmi.rmic.newrmic.Main,
completely bypassing the other bits.

What we could do is have a new compiler adapter "xnew" that 
 -uses this as the entry point (or runs classic rmic with -Xnew)
 -forks on all java versions
This would eliminate the need to look for -XNew as an argument to rmic itself,
and make management of the problem much less contrived (the alternate is to
check for sun && java1.6+ && -XNew in the argument list and switch to the
forking compiler)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message