Domanda

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).

È stato utile?

Soluzione

"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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top