You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/08/29 11:27:14 UTC
DO NOT REPLY [Bug 40342] New: - Regression: rmic generates 1.1 stubs by default
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
Summary: Regression: rmic generates 1.1 stubs by default
Product: Ant
Version: 1.7.0Beta1
Platform: All
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: robbiexgibson@yahoo.com
In ant 1.6, the rmic task generates 1.2 stubs by default, but in 1.7 the same
task generates 1.1 stubs by default.
--
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
DO NOT REPLY [Bug 40342] - Regression: rmic generates 1.1 stubs by default
Posted by bu...@apache.org.
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
antoine@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|1.7.0Beta1 |1.7.0Beta2
--
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
DO NOT REPLY [Bug 40342] - Regression: rmic generates 1.1 stubs by default
Posted by bu...@apache.org.
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
DO NOT REPLY [Bug 40342] - Regression: rmic generates 1.1 stubs by default
Posted by bu...@apache.org.
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
----------------------------------------------------------------------------
OtherBugsDependingO| |33862
nThis| |
Status|RESOLVED |REOPENED
Resolution|WONTFIX |
------- Additional Comments From stevel@apache.org 2006-08-30 12:34 -------
I didnt really look at what java1.5 did, only noticed that the dependency logic
broke and that the rmic docs say "We no longer do -compat" by default -so we
switched rmic back to retaining the defaults.
the trouble with trying to be clever about knowing which jvm has what defaults
is that we often end up getting it wrong, as they change behaviours on new JDKs
(like here). Supporting third party JDKs and as yet unreleased JDKs are extra
trouble.
Going to reopen as we could look for skeletons, maybe. however, my other point
about default stubs still stands. Imagine you write an app on java1.4 &
redistribute the app with source. the moment someone builds on java1.5, they end
up producing something that is incompatible. now, what they do with their .class
files is normally their problem, but RMI is a network protocol. By abandoning
compatibility you are producing code that doesnt interop over the network, and
that is a bad thing.
--
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
DO NOT REPLY [Bug 40342] - Regression: rmic generates 1.1 stubs by default
Posted by bu...@apache.org.
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
antoine@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|1.7.0Beta2 |1.7.0Beta3
--
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
DO NOT REPLY [Bug 40342] - Regression: rmic generates 1.1 stubs by default
Posted by bu...@apache.org.
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
antoine@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|1.7.0RC1 |1.7.0
--
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
DO NOT REPLY [Bug 40342] - Regression: rmic generates 1.1 stubs by default
Posted by bu...@apache.org.
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
------- Additional Comments From robbiexgibson@yahoo.com 2006-08-30 11:47 -------
The thing is, it's a bit strange because moving up a JDK version from 1.4 -> 1.5
stops generating Skeletons (not Stubs) by default; but moving from Ant 1.6 to
1.7 starts generating them (by default) ...
What about just changing the dependency logic to check for the existence of
Stubs instead of Skeletons? Then the dependencies are correctly checked
everywhere (unless someone manages to generate Stubs but not Skeletons and then
re-runs with target 1.1).
--
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
DO NOT REPLY [Bug 40342] - Regression: rmic generates 1.1 stubs by default
Posted by bu...@apache.org.
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
antoine@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|1.7.0Beta3 |1.7.0RC1
--
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