Post

bugs.openjdk.org/browse/JDK-8... will reduce the size of the Javadoc bundled fonts starting from Java 28. However, avoiding inclusion by default was rejected: bugs.openjdk.org/browse/JDK-8...

bugs.openjdk.orgLoading...JDK-8387386 Default to --no-fonts in javadoc
Thomas Vitale ☀️@thomasvitale.com

So now I'm adding this configuration to all my Java projects. For the Arconia Framework, that meant going from 200MB to 8MB total release size (many artifacts). Considering the new publishing limits set by Sonatype, that makes a huge difference! Also, no wonder the disk storage costs are so high!

Good to see the bundle fonts size being reduced, thanks for sharing. Though, it's very unfortunate that they rejected disabling the default inclusion. Even with a smaller size, it still has a relevant impact on the overall ecosystem, especially when it comes to Maven Central.

0 reposts1 like

No replies yet.