On 8/1/13 3:58 PM, Nick Williams wrote:
> 
> On Aug 1, 2013, at 8:01 AM, Dalibor Topic wrote:
> 
>> On 7/30/13 2:01 PM, Jörn Huxhorn wrote:
>>> See http://code.ohloh.net/search?s=Reflection.getCallerClass for a rough 
>>> estimate about the impact of this change. 
>>
>> Eh, no. Try 
>> http://code.ohloh.net/search?s=%22Reflection.getCallerClass%28%22&pp=0&fl=Java&ff=1&mp=1&ml=1&me=1&md=1&filterChecked=true
>> instead.
> 
> I think the number is probably somewhere in between these two (I'm not sure 
> where). Dalibor's filter appears to exclude uses via reflection 
> (Class.forName("sun.reflect.Reflection"), c.getMethod("getCallerClass")).
> 

Yep. Searching for the names individually gives a slightly higher number (and 
covers reflection use as mentioned above):
http://code.ohloh.net/search?s=%22Reflection%22%20%22getCallerClass%22%20%22sun.reflect%22&pp=0&fl=Java&ff=1&mp=0&ml=1&me=1&md=1&filterChecked=true

cheers,
dalibor topic
-- 
Oracle <http://www.oracle.com>
Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961 
<tel:+491737185961>
Oracle Java Platform Group

ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher

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

Reply via email to