Coder Social home page Coder Social logo

codox crashes under Java 16 about codox HOT 8 CLOSED

cloojure avatar cloojure commented on August 18, 2024 2
codox crashes under Java 16

from codox.

Comments (8)

frenchy64 avatar frenchy64 commented on August 18, 2024 2

Workaround for Leiningen and deps.edn:

:jvm-opts ["--add-opens" "java.base/java.lang=ALL-UNNAMED"]

from codox.

genmeblog avatar genmeblog commented on August 18, 2024

It's in Parboiled which is almost not maintained unfortunately. Same as Pegdown. This means that codox can be unusable on JDK 16+ (I have the same issue on 17).

from codox.

brunchboy avatar brunchboy commented on August 18, 2024

I ran into this same problem when one of my users was trying to build Afterglow under Java 17. I am glad there is at least a workaround for now.

from codox.

weavejester avatar weavejester commented on August 18, 2024

This should be fixed in 0.10.8.

from codox.

brunchboy avatar brunchboy commented on August 18, 2024

Oh, thank you! I forgot that my plugins were not showing up in lein ancient, and was just stewing over the fact that the workaround broke my CI for building the online version of the developer guide, because the java version on Netlify, which builds and hosts it, is too ancient to support the --add-opens option. Updating codox is a much better answer. 😄

from codox.

bostonaholic avatar bostonaholic commented on August 18, 2024

@brunchboy You can check outdated plugins with lein ancient :plugins or lein ancient :all.

from codox.

brunchboy avatar brunchboy commented on August 18, 2024

Indeed, when I remember to. Thanks again, all is well now that I have updated everything.

from codox.

cloojure avatar cloojure commented on August 18, 2024

When in doubt, write a function! Here is my favorite:

function lanc() {  # Lein ANCient
  echo ""
  echo ""-----------------------------------------------------------------------------
  echo "project.clj:"
  echo ""
  lein ancient check           :all
  echo ""
  echo ""-----------------------------------------------------------------------------
  echo "profiles.clj:"
  echo ""
  lein ancient check-profiles  :all
  echo ""-----------------------------------------------------------------------------
  echo ""
}

with result

~/expr/demo > lanc

-----------------------------------------------------------------------------
project.clj:

[org.clojure/clojure "1.11.1"] is available but we use "1.11.0" (use :check-clojure to upgrade)
[com.jakemccrary/lein-test-refresh "0.25.0"] is available but we use "0.24.1"

-----------------------------------------------------------------------------
profiles.clj:

-- ~/.lein/profiles.clj
all artifacts are up-to-date.

-----------------------------------------------------------------------------```

from codox.

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.