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 40342] - Regression: rmic generates 1.1 stubs by default
Date Wed, 30 Aug 2006 10:22:43 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=40342>.
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=40342


stevel@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From stevel@apache.org  2006-08-30 10:22 -------
This is java1.5, isnt it? It is the only JDK that generates 1.2 stuff by default.

we tweaked rmic to always run with -vcompat unless you say otherwise, as it was
breaking the dependency logic. Notice how in ant1.6, your rmic task reruns every
time, as it thinks the stubs are missing.

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

Turn on stubversion="1.2" to get the version 1.2 stuff.

I am going to mark this as WONTFIX, but I think we ought to move the rmic change
to the changes-that-may break your build. 

There's no ideal solution here. If we leave it as is, the dependency logic is
broken on java1.5, or we try and do something clever, looking that the java
version of the JDK and 'knowing' which thing is right. But here's why I dont
want to do that: moving up to java1.5 from java1.4 breaks all your rmic code if
you still want to talk to older stuff. And its not an obvious failure that shows
up in the build, but only when you redistribute, as you unknowlingly ship non
backwards-compatible stub classes.

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