ClhsdbCDSCore jtreg test fails on OSX

Jaikiran Pai jai.forums2013 at
Mon Nov 4 14:49:12 UTC 2019

On 04/11/19 8:11 PM, Jaikiran Pai wrote:
> ...
> Looking at the testcase itself, I see this
> if (Platform.isOSX()) {
>     File coresDir = new File("/cores");
>     if (!coresDir.isDirectory() || !coresDir.canWrite()) {
>         throw new Error("cores is not a directory or does not have write
> permissions");
> I'm on OSX. So this test expects a directory called "cores" at the root
> of the filesystem? That looks odd. I don't have any such directory. 

Correction - I do have that directory (my "ls" command that I previously
used to check had a typo), but that /cores directory is owned by "root"
and the test is running as a regular user.


More information about the hotspot-dev mailing list