What do they mean with System classes in the following statement taken from the official documentation?

To enable assertions at various granularities, use the -enableassertions, or -ea, switch. To disable assertions at various granularities, use the -disableassertions, or -da, switch. You specify the granularity with the arguments that you provide to the switch:

  • no arguments
    Enables or disables assertions in all classes except system classes.
  • ...

(emphasis mine).

有帮助吗?

解决方案

"System classes" are those loaded by the boot class loader. For all intents and purposes, this means the classes documented in the standard Java APIs.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top