Re: RFR (2nd): 8023524: Mechanism to dump generated lambda classes / log lambda code generation

2013-09-26 Thread Mandy Chung
On 9/24/2013 10:56 PM, Peter Levart wrote: Just a thought. How does URLClassLoader do the class name - path to resource translation? Perhaps there's already some code that does this correctly and in a platform-specific way (haven't looked)... sun.misc.ParseUtil.encodePath Mandy

Re: RFR (2nd): 8023524: Mechanism to dump generated lambda classes / log lambda code generation

2013-09-25 Thread Peter Levart
On 09/25/2013 07:56 AM, Peter Levart wrote: Just a thought. How does URLClassLoader do the class name - path to resource translation? Perhaps there's already some code that does this correctly and in a platform-specific way (haven't looked)... Hi, sun.misc.ProxyGenerator has similar

Re: RFR (2nd): 8023524: Mechanism to dump generated lambda classes / log lambda code generation

2013-09-25 Thread Henry Jen
On 09/24/2013 11:28 PM, Peter Levart wrote: On 09/25/2013 07:56 AM, Peter Levart wrote: Just a thought. How does URLClassLoader do the class name - path to resource translation? Perhaps there's already some code that does this correctly and in a platform-specific way (haven't looked)... Hi,

RFR (2nd): 8023524: Mechanism to dump generated lambda classes / log lambda code generation

2013-09-24 Thread Henry Jen
Hi, Please review the new webrev at http://cr.openjdk.java.net/~henryjen/ccc/8023524/1/webrev/ The updated code will attempt to escape potentially bad characters(based on our best knowledge on Windows and common systems), it's not likely we can avoid problem for all file systems. Anyhow, we

Re: RFR (2nd): 8023524: Mechanism to dump generated lambda classes / log lambda code generation

2013-09-24 Thread Peter Levart
On 09/24/2013 11:59 PM, Henry Jen wrote: Hi, Please review the new webrev at http://cr.openjdk.java.net/~henryjen/ccc/8023524/1/webrev/ The updated code will attempt to escape potentially bad characters(based on our best knowledge on Windows and common systems), it's not likely we can avoid