On 9/2/11 8:48 AM, Joe Darcy wrote:
> Dalibor Topic wrote:
>> On 9/1/11 1:11 PM, Joe Darcy wrote:
>>  
>>> Hello.
>>>
>>> I hereby request approval to backport a trio of signature parsing fixes 
>>> from JDK 8 to 7 update:
>>>
>>>    6476261: (reflect) GenericSignatureFormatError When signature includes 
>>> nested inner classes
>>>    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6476261
>>>
>>>    6832374: (reflect) malformed signature can cause parser to go into 
>>> infinite loop
>>>    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6832374
>>>
>>>    7052898: (reflect) SignatureParser will accept strings outside of the 
>>> grammar
>>>    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7052898
>>>     
>>
>> Unfortunately, the last bug comes up as not available for me. Could you 
>> describe it in your own words,
>> and let us know whether this is a regression, and what its priority is?
>>   
> 
> Sure; the legal syntax for a throws clause is a proper subset of the full 
> FieldTypeSignature production.  The old code did not make that distinction, 
> improperly allowing arrays in the throws section.  The new code fixes this 
> issue by adding a b0olean argument in parseFieldTypeSignature(boolean 
> allowArrays).  The problem is not a regression, but is is included as a unit 
> with the other two fixes.[snip]
> I've posted the 7 update version of the webrev at:
> 
> http://cr.openjdk.java.net/~darcy/6476261.7u/

Thanks, Joe - reviewed and approved.

cheers,
dalibor topic


-- 
Oracle <http://www.oracle.com>
Dalibor Topic | Java F/OSS Ambassador
Phone: +494023646738 <tel:+494023646738> | Mobile: +491772664192 
<tel:+491772664192>
Oracle Java Platform Group

ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven

Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment

Reply via email to