Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-releng-dev] Re: New Java project wizard fails in I20051129-1200


After discussions with platform.resources we decided that it is simplest to add a workaround in jdt.ui.
java.io.File.toURI() adds a trailing slash when a folder exists, but not if the folder doesn't exists. Platform.resources (e.g. IResource.toLocationURI) changed their behavior to never add trailing slash.
Unfortunately URI.equals also tests for the slash and the JDT project wizard relied on URI.equals.
The idea is now to offer a URI utility that offers a trailing slash insensitive equals.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=118606 for more details.

We released our changes and updated the map files for a rebuild.

Martin

Back to the top