Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve reflection issues #2

Open
borkdude opened this issue Jun 10, 2021 · 0 comments
Open

Solve reflection issues #2

borkdude opened this issue Jun 10, 2021 · 0 comments

Comments

@borkdude
Copy link

@adam-james-v was trying to compile a GraalVM native binary using your library, but we stumbled on issues regarding reflection.

This is the full list for the batik.rasterize namespace:

user=> (set! *warn-on-reflection* true)
true
user=> (require 'batik.rasterize)
Reflection warning, batik/rasterize.clj:12:34 - call to method add can't be resolved (target class is unknown).
Reflection warning, batik/rasterize.clj:27:22 - reference to field createRenderer can't be resolved.
Reflection warning, batik/rasterize.clj:28:9 - call to method setRenderingHints can't be resolved (target class is unknown).
Reflection warning, batik/rasterize.clj:34:22 - reference to field createRenderer can't be resolved.
Reflection warning, batik/rasterize.clj:35:9 - call to method setRenderingHints can't be resolved (target class is unknown).
Reflection warning, batik/rasterize.clj:41:22 - reference to field createRenderer can't be resolved.
Reflection warning, batik/rasterize.clj:42:9 - call to method setRenderingHints can't be resolved (target class is unknown).
Reflection warning, batik/rasterize.clj:46:22 - reference to field getRootElement can't be resolved.
Reflection warning, batik/rasterize.clj:47:14 - reference to field getWidth can't be resolved.
Reflection warning, batik/rasterize.clj:47:14 - reference to field getCheckedValue can't be resolved.
Reflection warning, batik/rasterize.clj:48:14 - reference to field getHeight can't be resolved.
Reflection warning, batik/rasterize.clj:48:14 - reference to field getCheckedValue can't be resolved.
Reflection warning, batik/rasterize.clj:56:43 - call to method getBytes can't be resolved (target class is unknown).
Reflection warning, batik/rasterize.clj:87:8 - call to method addTranscodingHint can't be resolved (target class is unknown).
Reflection warning, batik/rasterize.clj:89:6 - call to method addTranscodingHint can't be resolved (target class is unknown).
Reflection warning, batik/rasterize.clj:94:17 - call to org.apache.batik.transcoder.TranscoderInput ctor can't be resolved.
Reflection warning, batik/rasterize.clj:95:18 - call to org.apache.batik.transcoder.TranscoderOutput ctor can't be resolved.
Reflection warning, batik/rasterize.clj:96:10 - call to method transcode can't be resolved (target class is unknown).
Reflection warning, batik/rasterize.clj:97:23 - reference to field toByteArray can't be resolved.
Reflection warning, batik/rasterize.clj:91:6 - reference to field close can't be resolved.
nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant