Skip to content

Commit

Permalink
Do not use seperator char.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Sep 25, 2024
1 parent 0248218 commit ceca355
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ protected MultiReleaseAware(int[] version) {
* {@inheritDoc}
*/
public Resolution locate(String name) throws IOException {
String path = name.replace('.', File.separatorChar) + CLASS_FILE_EXTENSION;
String path = name.replace('.', '/') + CLASS_FILE_EXTENSION;
for (int index = 0; index < version.length + 1; index++) {
byte[] binaryRepresentation = doLocate(index == version.length ? path : META_INF_VERSIONS + version[index] + "/" + path);
if (binaryRepresentation != null) {
Expand Down

0 comments on commit ceca355

Please sign in to comment.