RFR (S) 8232168: Fix non wide char canonicalization on Windows

Alan Bateman Alan.Bateman at oracle.com
Tue Oct 15 15:45:27 UTC 2019

On 15/10/2019 16:19, Schmelter, Ralf wrote:
> Hello,
> this is a small change which fixes the some problems with the canonicalize() method in canonicalize_md.c.
Can you split out the changes to the java.io into a separate issue and 
bring them to core-libs-dev to discuss? I suspect the changes will 
require a lot of review cycles.


> Currently it lets the wcanonicalize() method do the  work for path lengths > MAX_PATH. This change always calls the wcanonicalize() method, since the old implementation doesn't work for all path lengths <= MAX_PATH. In addition the canonicalizeWithPrefix() method has been removed, since it seems to be not used anymore.
> Bug report: https://bugs.openjdk.java.net/browse/JDK-8232168
> Webrev: http://cr.openjdk.java.net/~rschmelter/webrevs/8232168/webrev.0/
> Best regards,
> Ralf

More information about the hotspot-runtime-dev mailing list