Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #7221
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.utanet.at!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| From | Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> |
| Subject | Re: enhance an array's static type by a lower length-bound. |
| References | <slrnj4nm33.6gl.avl@gamma.logic.tuwien.ac.at> <j2gu2q$2tm$1@dont-email.me> <slrnj4q40p.6gl.avl@gamma.logic.tuwien.ac.at> <j2jb67$492$1@dont-email.me> |
| Reply-To | avl@logic.at |
| User-Agent | slrn/pre0.9.9-111 (Linux) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| Message-ID | <slrnj4qlh6.6gl.avl@gamma.logic.tuwien.ac.at> (permalink) |
| Date | 18 Aug 2011 18:12:54 GMT |
| Lines | 23 |
| NNTP-Posting-Host | gamma.logic.tuwien.ac.at |
| X-Trace | 1313691174 tunews.univie.ac.at 71616 128.130.175.3 |
| X-Complaints-To | abuse@tuwien.ac.at |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7221 |
Show key headers only | View raw
Joshua Cranmer <Pidgeot18@verizon.invalid> wrote: > On 8/18/2011 8:14 AM, Andreas Leitgeb wrote: >> Joshua Cranmer<Pidgeot18@verizon.invalid> wrote: >>> On 8/17/2011 10:04 AM, Andreas Leitgeb wrote: >>>> I believe such a change would be source-compatible, but might require >>>> some severe changes at the bytecode/class-file-format level, to allow >>>> to specify such a lower bound in a type signature. Such a change should >>>> be possible in a way, that old class-files can still be used. e.g.: >>>> get9th:(]10I)I (currently without bounds: get9th:([I)I ) >>> You could do it by adding a few new annotations, >> I must admit, that I've so far mostly ignored Annotations for my >> tasks. When you write "adding a few annotations", do you just mean >> adding certain standard annotations to the respective places, or did >> you mean defining a custom Annotation and write some code for a >> compiler-plugin that would then deal with one's new Annotations? > I was actually referring to class file annotations, not Java annotations. They are called "annotations", too? I thought, they were called "attributes". But anyway, yes, that might also be a way to implement it. (That's also, how signatures of generic methods, etc. are handled)
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
enhance an array's static type by a lower length-bound. Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-17 15:04 +0000
Re: enhance an array's static type by a lower length-bound. Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-08-17 12:34 -0500
Re: enhance an array's static type by a lower length-bound. Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-18 13:14 +0000
Re: enhance an array's static type by a lower length-bound. Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-08-18 10:30 -0500
Re: enhance an array's static type by a lower length-bound. Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-18 18:12 +0000
Re: enhance an array's static type by a lower length-bound. Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-08-18 20:59 -0500
Re: enhance an array's static type by a lower length-bound. Robert Klemme <shortcutter@googlemail.com> - 2011-08-17 20:42 +0200
Re: enhance an array's static type by a lower length-bound. Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-18 21:44 +0000
Re: enhance an array's static type by a lower length-bound. Robert Klemme <shortcutter@googlemail.com> - 2011-08-19 13:24 +0200
Re: enhance an array's static type by a lower length-bound. Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-20 17:20 +0000
Re: enhance an array's static type by a lower length-bound. Roedy Green <see_website@mindprod.com.invalid> - 2011-08-17 22:11 -0700
Re: enhance an array's static type by a lower length-bound. Lew <lewbloch@gmail.com> - 2011-08-17 23:17 -0700
Re: enhance an array's static type by a lower length-bound. Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-18 10:41 +0000
Re: enhance an array's static type by a lower length-bound. Patricia Shanahan <pats@acm.org> - 2011-08-18 06:34 -0700
Re: enhance an array's static type by a lower length-bound. Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-18 18:08 +0000
Re: enhance an array's static type by a lower length-bound. Roedy Green <see_website@mindprod.com.invalid> - 2011-08-18 17:53 -0700
Re: enhance an array's static type by a lower length-bound. Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-20 17:31 +0000
Re: enhance an array's static type by a lower length-bound. Lew <lewbloch@gmail.com> - 2011-08-20 10:50 -0700
Re: enhance an array's static type by a lower length-bound. Robert Klemme <shortcutter@googlemail.com> - 2011-08-21 10:47 +0200
Re: enhance an array's static type by a lower length-bound. Michal Kleczek <kleku@poczta.onet.pl> - 2011-08-21 20:27 +0200
csiph-web