2015-10-19 12:19 GMT-07:00 Jesse Glick <[email protected]>: > On Mon, Oct 19, 2015 at 2:19 PM, Kohsuke Kawaguchi <[email protected]> wrote: > > Queue.Item.id has known fixed set of subtypes, so we can restrict the > rewrite to a much smaller subset. > > Not sure I follow that. IIUC the problem is outside references to > `id`. The number of subtypes of `Item` (and the fact that they are all > in core) is irrelevant. >
The only reference to 'id' that we need to rewrite is those for Queue.Item and its subtypes. Today BCT doesn't assume that the subtypes are finite fixed set, so it rewrites every reference to com.example.Foo#id based on the assumption that it might be a subtype of Queue.Item. By knowing all the subtypes, we can drastically reduces the amount of rewrite. -- Kohsuke Kawaguchi -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAN4CQ4wv%2BYLbKNbD4a5Y0jeWkrns_pmcDhtq9XvbdQgXLXZKpw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
