Skip to content

Instantiating Cache in a custom system class loader leads to a recursive invocation exception #6565

@01es

Description

@01es

Having a custom system class loader, which instantiates com.google.common.cache.Cache as part of its construction results in recursive invocation exception.

The error occurs in line 240 of com.google.common.cache.CacheBuilder. The code comment suggests that this situation was envisaged. This was working correctly in version 31.1-jre and the error started to manifest in version 32.0.0-jre.

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions