Bug on at least Linux, Mac OS X with Paths.get("").normalize()
Francis Galiegue
fgaliegue at gmail.com
Sat Mar 22 08:25:53 UTC 2014
On Sat, Mar 22, 2014 at 9:05 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 22/03/2014 00:56, Francis Galiegue wrote:
>>
>> :
>>
>> ----
>> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
>> at sun.nio.fs.UnixPath.normalize(UnixPath.java:508)
>> at Foo.main(Foo.java:7)
>> ----
>>
>> Confirmed to "work" on Mac OS X; what is more, this affects both Java
>> 7 and Java 8.
>>
> Thanks, someone else reported the same thing this week:
>
> https://bugs.openjdk.java.net/browse/JDK-8037945
>
> It's an oversight but easily fixed.
>
Hello,
Well, that was me... I had to use sun.bugs.com, and as it doesn't send
email confirmations back, I subscribed here. Sorry for the noise...
--
Francis Galiegue, fgaliegue at gmail.com
JSON Schema in Java: http://json-schema-validator.herokuapp.com
More information about the nio-dev
mailing list