NyuB / yadladoc

Documentation code snippets maintenance
5 stars 0 forks source link

Load cram decorator without SPI to allow future native binaries to use it #17

Closed NyuB closed 2 months ago

NyuB commented 2 months ago

Related to #9

Currently, decorators are only discovered via SPI. This java featur relies on reflection and JVM dynamism and will not be available in native binaries. Since the cram decorator does not rely on any JVM specific feature, load it outside SPI to allow every packaging of ydladoc to use it.