Skip to content

Conversation

scala-steward
Copy link
Contributor

About this PR

📦 Updates org.eclipse.jgit:org.eclipse.jgit from 5.13.3.202401111512-r to 5.13.4.202507202350-r

Usage

Please merge!

I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a .scala-steward.conf file.

Have a fantastic day writing Scala!

⚙ Adjust future updates

Add this to your .scala-steward.conf file to ignore future updates of this dependency:

updates.ignore = [ { groupId = "org.eclipse.jgit", artifactId = "org.eclipse.jgit" } ]

Or, add this to slow down future updates of this dependency:

dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.eclipse.jgit", artifactId = "org.eclipse.jgit" }
}]
labels: library-update, commit-count:1

@xuwei-k
Copy link
Member

xuwei-k commented Oct 6, 2025

Error:  java.lang.NoSuchMethodError: java.nio.ByteBuffer.mark()Ljava/nio/ByteBuffer;
Error:  	at org.eclipse.jgit.util.RawParseUtils.decodeNoFallback(RawParseUtils.java:1140)
Error:  	at org.eclipse.jgit.util.RawParseUtils.decode(RawParseUtils.java:1106)
Error:  	at org.eclipse.jgit.util.RawParseUtils.decode(RawParseUtils.java:1065)
Error:  	at org.eclipse.jgit.util.RawParseUtils.decode(RawParseUtils.java:1044)
Error:  	at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:142)
Error:  	at org.eclipse.jgit.util.SystemReader.updateAll(SystemReader.java:390)
Error:  	at org.eclipse.jgit.util.SystemReader.getJGitConfig(SystemReader.java:341)
Error:  	at org.eclipse.jgit.util.SystemReader.getSystemConfig(SystemReader.java:363)
Error:  	at org.eclipse.jgit.util.SystemReader.getUserConfig(SystemReader.java:311)
Error:  	at org.eclipse.jgit.internal.storage.file.FileRepository.<init>(FileRepository.java:162)

https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/ByteBuffer.html#mark()

@raboof
Copy link
Collaborator

raboof commented Oct 7, 2025

I believe this is a symptom of jgit being built with jdk9+ and targeting jdk8 bytecode, but still compiling against the jdk9+ stdlib. In other words, using -target instead of -release.

this has already been fixed in jgit 7.x, let's just get that when sbt-git drops jdk8 support

@scala-steward
Copy link
Contributor Author

@scala-steward scala-steward deleted the update/org.eclipse.jgit-5.13.4.202507202350-r branch October 7, 2025 19:05
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

Successfully merging this pull request may close these issues.

3 participants