Giter Site home page Giter Site logo

Comments (2)

msteiger avatar msteiger commented on August 16, 2024

I don't see any reasonable connection between the two. That said, the LocalResponseCache installation is global and might be overriden by the PrintServiceLookup implementation.

You could add a breakpoint to find out who calls ResponseCache.setDefault().

from jxmapviewer2.

Ruediger34 avatar Ruediger34 commented on August 16, 2024

I will give you an update to this "issue", in case anyone has the same obscurity.

If I compile the jxmapviewer2/examples/src/sample7_swingwaypoints/Sample7.java with jdk8
and add at the first line in the main function:
PrintServiceLookup.lookupDefaultPrintService();
the cache is not working on linux-systems (Debian, Fedora) with openjdk8 and the official oraclejdk8.
I have also added a breakpoint to ResponseCache.setDefault() which is only called by jxmapviewer.
If I compile the project with jdk7 and use jre7, the cache respectively the .png files are properly created.

This bevaviour only occurs on my tested linux-systems (Debian, Fedora).
On Windows everything is fine with jdk7/8.
Finally I don´t have a solution for this, except to use jdk7.

from jxmapviewer2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.