« Previous | Next » 

Revision 13ed99cb

Parent b7270466
Child 3fee10ca

Added by Bastian Waidelich almost 7 years ago

[BUGFIX] Throw exception when trying to reflect a non-existing class

Previously the ``ReflectionService`` ignored classes that couldn't be
loaded. It just logged an error and marked the respective class
This leads to weird side effects that are hard to track down.

With this change an exception is thrown during compile time whenever
a class is being reflected that couldn't be loaded.

If a class or file should be skipped during reflection, the
``excludeClasses`` can be used::

'Some.PackageKey': ['Some\\Class\\Name']

Change-Id: I0d43dca0bb8729c5328a89ea930f1014bed201b2
Fixes: FLOW-128
Releases: master, 2.3, 2.2, 2.1

  • added
  • modified
  • copied
  • renamed
  • deleted