Skip to content
Snippets Groups Projects
Commit 5e1af012 authored by Christian Kuhn's avatar Christian Kuhn Committed by Benni Mack
Browse files

[TASK] Public method to retrieve class loader

To bootstrap TYPO3 sub requests, the testing framework needs an
instance of the class loader. There is no good way to retrieve
this object that is immutable for the entire process.

During casual bootstrap, an instance of the class loader is parked
in object ClassLoadingInformation. The patch makes getClassLoader()
public to allow retrieval.

This solution is kinda ugly and should probably change later. The
public method is for now marked @internal and should not be used
by third party code to allow structural changes later.

Resolves: #92883
Releases: master
Change-Id: Ic819e1a5989a74ebf634e1b1090058b7fe93af9e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66708


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent d141e12f
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment