Skip to content

WebAppClassLoader should protect ServiceLoader access of META-INF/services and getResource() lookups #4652

@gregw

Description

@gregw

If a webapp uses the ServiceLoader, then the WebAppClassLoader should handle server classes by:

  • not finding a resource /META-INF/service/org.some.Service if org.some.Service is a server class
  • filtering the content of any /META-INF/service/org.some.Service file so that any implementations listed within the file that are server classes are also removed

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions