8278185: Custom JRE cannot find non-ASCII named module inside

Reviewed-by: naoto
This commit is contained in:
Toshio Nakamura 2021-12-09 19:05:31 +00:00 committed by Naoto Sato
parent abebde7440
commit fcd67a5242
2 changed files with 99 additions and 1 deletions

View file

@ -309,7 +309,7 @@ public class ImageStringsReader implements ImageStrings {
return -1;
}
}
return length;
return current - offset + length;
}
static int mutf8FromStringLength(String s) {