Pull Request for Issue #16315 and #16311 and is improving the workaround in #16342.
Summary of Changes
class_alias is actually not loading the alias class. Additionally when you have typed function arguments and instanceof calls, the class is also not loaded. This pr is loading the alias classes when a class is loaded in JLoader. It requires that the alias are registered before the original class is loaded.
Appended "[3.8]" on Titel to show Version for PR.