Skip to content

Illegal reflective access by org.geotools.image.ImageWorker #10

@tobwen

Description

@tobwen

issue

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.geotools.image.ImageWorker (file:/geoc-app-0.15.0.jar) to constructor com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi()
WARNING: Please consider reporting this to the maintainers of org.geotools.image.ImageWorker
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

steps to reproduce

# Debian Buster
$ java -jar ./geoc-app-0.15.0.jar tile generate -l "type=utfgrid file=utf" -m "layertype=layer file=test.shp" -f "AGS" -s 0 -e 0 -v

possible fix

add-exports java.desktop/com.sun.imageio.plugins.jpeg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions