Parameterization of input parameters is also compile-compatible, you only
get warnings. You are still able to compile old java programs without
generics using new Java versions (this is how Java itself solves the
compatibility problem) The whole Java collection API uses generics, and you
can simply
> EG I haven't yet tested for JAR drop-in compatibility, eg if in 3.1 we
> wanted to swap in more generics, would a 3.0 app be able to drop in
> the 3.1 Lucene jar w/o problems?
It should, because in the compiled JVM code, generics do simply not appear.
This is why you can simply run a very old ja
Parametrization of return types should be fully back compatible.
Parameterization of input parameters would be run-time compatible (due
to type erasure), but not compile-time compatible.
-Yonik
On Sat, Dec 13, 2008 at 5:07 PM, Michael McCandless
wrote:
>
> Grant Ingersoll wrote:
>
>> IIRC, we al
Grant Ingersoll wrote:
IIRC, we also agreed that we didn't feel any compelling reason to
make a sweeping change to generics, but would likely just add them
as we see 'em, unless of course someone wants to do a wholesale patch.
I like that approach.
In the case of generics, I see no reason
[
https://issues.apache.org/jira/browse/LUCENE-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-1483:
---
Attachment: LUCENE-1483.patch
Attached initial patch (derived from one of the earlie
[
https://issues.apache.org/jira/browse/LUCENE-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656304#action_12656304
]
Mark Miller commented on LUCENE-1483:
-
Thats were I don't follow though - its not ords
[
https://issues.apache.org/jira/browse/LUCENE-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656287#action_12656287
]
Michael McCandless commented on LUCENE-1483:
I'm exploring one possible approa
[
https://issues.apache.org/jira/browse/LUCENE-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656285#action_12656285
]
Mark Miller commented on LUCENE-1483:
-
Okay, in a pinch I guess we just grab the ordin