structurizr / export

Export models and views to external formats.
https://docs.structurizr.com/export
Apache License 2.0
18 stars 28 forks source link

Swallow UnsupportedOperationException for Graal native env #61

Closed dylanwatsonsoftware closed 1 year ago

dylanwatsonsoftware commented 1 year ago

In a Graal native environment, Quarkus will throw UnsupportedOperationException (if the AWT extension, which isn't supported by graal, isn't installed) in this case, we can safely swallow the exception and use the default

See: https://github.com/quarkusio/quarkus/blob/c837ba5f56ea3ff63128ba43d2994ecdae690baa/core/runtime/src/main/java/io/quarkus/runtime/graal/AwtImageIO.java#L66