RFR(S): 8208623: [TESTBUG] runtime/LoadClass/LongBCP.java fails in AUFS file system
David Holmes
david.holmes at oracle.com
Wed Aug 1 12:24:31 UTC 2018
Hi Pengfei,
On 1/08/2018 6:14 PM, Pengfei Li wrote:
> Hi,
>
> Could you please help review the small fix to jtreg test case
> “runtime/LoadClass/LongBCP.java” ?
>
> This case fails in Linux AUFS file system since the maximum file name
> length is shorter than 255.
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8208623
>
> webrev: http://cr.openjdk.java.net/~zyao/8208623/webrev.00/index.html
> <http://cr.openjdk.java.net/%7Ezyao/8208623/webrev.00/index.html>
I'm wondering whether the filesystem type can be found through one of
the java.nio.file APIs i.e FileSystem/FileStore/FileSystemProvider so
that you do not have to exec the "stat -f -c %T ." command ??
It would also be beneficial for checking the operation of the test to
print the "max length" value that it ends up testing.
Thanks,
David
> "Since aufs has several filename prefixes reserved, the maximum filename
> length is shorter than ordinary 255. Actually 242 (defined as
> ${AUFS_MAX_NAMELEN})." [1]
>
> --
>
> Thanks,
>
> Pengfei
>
> [1] http://aufs.sourceforge.net/aufs3/man.html
>
More information about the hotspot-runtime-dev
mailing list