Re: Review request for JDK-6760902: inconsistent behavior in bootstrap class loader for classes and resources

2014-01-20 Thread Paul Sandoz
On Jan 17, 2014, at 10:10 PM, Mandy Chung mandy.ch...@oracle.com wrote: Paul, Here is the updated webrev: http://cr.openjdk.java.net/~mchung/jdk9/webrevs/6760902/webrev.01/ This cleans up GetResource.sh and merges with GetResource2.sh. Also fixed if (pos - lastPoc 0) line and javadoc

Re: Review request for JDK-6760902: inconsistent behavior in bootstrap class loader for classes and resources

2014-01-16 Thread Paul Sandoz
On Jan 16, 2014, at 2:27 AM, Mandy Chung mandy.ch...@oracle.com wrote: There is an inconsistency in searching classes vs resources if bootclasspath contains an empty path. Empty path on bootclasspath is skipped by the bootstrap class loader when searching classes while it defaults to

Re: Review request for JDK-6760902: inconsistent behavior in bootstrap class loader for classes and resources

2014-01-16 Thread Paul Sandoz
On Jan 16, 2014, at 4:51 PM, Mandy Chung mandy.ch...@oracle.com wrote: On 1/16/2014 7:39 AM, Paul Sandoz wrote: On Jan 16, 2014, at 2:27 AM, Mandy Chung mandy.ch...@oracle.com wrote: There is an inconsistency in searching classes vs resources if bootclasspath contains an empty path.

Re: Review request for JDK-6760902: inconsistent behavior in bootstrap class loader for classes and resources

2014-01-16 Thread Mandy Chung
On 1/16/2014 7:39 AM, Paul Sandoz wrote: On Jan 16, 2014, at 2:27 AM, Mandy Chung mandy.ch...@oracle.com wrote: There is an inconsistency in searching classes vs resources if bootclasspath contains an empty path. Empty path on bootclasspath is skipped by the bootstrap class loader when

Review request for JDK-6760902: inconsistent behavior in bootstrap class loader for classes and resources

2014-01-15 Thread Mandy Chung
There is an inconsistency in searching classes vs resources if bootclasspath contains an empty path. Empty path on bootclasspath is skipped by the bootstrap class loader when searching classes while it defaults to current working directory when searching resources as the application class