Re: RFR (L) 8037210: Get rid of char-based descriptions 'J' of basic types

2014-03-18 Thread Christian Thalinger
On Mar 18, 2014, at 2:35 PM, John Rose wrote: > On Mar 18, 2014, at 1:36 PM, Christian Thalinger > wrote: > >> Why are we not using an Enum instead of an "untyped" byte? > > Byte is moderately typed, in the sense (which I rely on during development) > that you can't assign an int or char to

Re: RFR (L) 8037210: Get rid of char-based descriptions 'J' of basic types

2014-03-18 Thread John Rose
On Mar 18, 2014, at 1:36 PM, Christian Thalinger wrote: > Why are we not using an Enum instead of an "untyped" byte? Byte is moderately typed, in the sense (which I rely on during development) that you can't assign an int or char to a byte w/o a cast. That's why it is not just a plain int. Bu

Re: RFR (L) 8037210: Get rid of char-based descriptions 'J' of basic types

2014-03-18 Thread Christian Thalinger
On Mar 14, 2014, at 4:28 AM, Vladimir Ivanov wrote: > http://cr.openjdk.java.net/~vlivanov/8037210/webrev.00/ > https://bugs.openjdk.java.net/browse/JDK-8037210 > 953 lines changed: 425 ins; 217 del; 311 mod > > This is a massive cleanup of JSR292 code to replace char-based description of > b