Which are Java's system classes?

后端 未结 2 1261
既然无缘
既然无缘 2021-01-05 17:09

When reading some documentation about assertions, I found:

java -ea -dsa 

\"Enables assertions in general, but disables as

相关标签:
2条回答
  • 2021-01-05 18:00

    According to the assertions documentation, system classes are classes "which do not have an explicit class loader", i.e. the classes loaded by the bootstrap classloader. AFAIK that means the contents of rt.jar, the entire standard API.

    0 讨论(0)
  • 2021-01-05 18:06

    Per the same documentation system classes are classes which do not have a class loader. Could be the classes found on the boot class path

    0 讨论(0)
提交回复
热议问题