[OpenJDK 2D-Dev] "java.lang.Error: Probable fatal error:No fontsfound" does notshow on 11

Mario Torre neugens.limasoftware at gmail.com
Mon Mar 4 21:23:04 UTC 2019


Il giorno lun 4 mar 2019 alle ore 20:41 Bernd Eckenfels
<ecki at zusammenkunft.net> ha scritto:
>
> Hello,
>
>
>
> Philip Race wrote:
>
> > This is getting into "why doesn't my app run if I remove
> > things it needs to run ?" territory.
>
>
>
> Yes and no, the errors are caused by missing dependency declarations in common OS as well as undocumented requirements – no file delete caused those errors.
>

I agree with Phil here.

Also, when you use the system RPM it should have a require dependency
on one core x11 font package. Nevertheless, this is not a bug, but a
user misconfiguration.

> > A headless environment does not mean that fonts aren't needed.
> > Headless environments are used to do text rendering.
>
>
>
> Agree.
>
> > So whilst we could have a discussion about what form the error
> > should take, at some point you should get an error.
>
> But:
>
>
>
> Different Java versions produce different types of throwables, Errors and Runtime exceptions.
> There is no specification which one can be expected (and catching Throwable is Pretty ugly in Terms of not suppressing real VM Errors)
> A NPE Looks like a condition which should not happen
>

I think this is because different versions fail at different place?

Cheers,
Mario


-- 
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

Java Champion - Blog: http://neugens.wordpress.com - Twitter: @neugens
Proud GNU Classpath developer: http://www.classpath.org/
OpenJDK: http://openjdk.java.net/projects/caciocavallo/

Please, support open standards:
http://endsoftpatents.org/


More information about the 2d-dev mailing list