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

Update Lucene 3.x editor dependency #8384

Open
1 task done
mbien opened this issue Apr 2, 2025 · 0 comments
Open
1 task done

Update Lucene 3.x editor dependency #8384

mbien opened this issue Apr 2, 2025 · 0 comments
Labels
Upgrade Library Library (Dependency) Upgrade

Comments

@mbien
Copy link
Member

mbien commented Apr 2, 2025

codebase:

runtime:

Lucene 3.x is making misc.Unsafe calls, this was resolved in 5.x. apache/lucene#7301

sun/misc/Unsafe#addressSize             org.apache.lucene.util.Constants.<clinit>(Line:79)
sun/misc/Unsafe#arrayBaseOffset         org.apache.lucene.util.RamUsageEstimator.<clinit>(Line:210)
sun/misc/Unsafe#arrayIndexScale         org.apache.lucene.util.RamUsageEstimator.<clinit>(Line:171)
sun/misc/Unsafe#objectFieldOffset       org.apache.lucene.util.RamUsageEstimator.<clinit>(Line:191)

those warnings will become errors in JDK 26, see parent issue #8259

updating it won't be trivial since it is exposed via editor API
https://lucene.apache.org/core/4_0_0/MIGRATE.html

Committer

  • I acknowledge that I am a maintainer/committer in the Apache NetBeans project.
@mbien mbien added the Upgrade Library Library (Dependency) Upgrade label Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Upgrade Library Library (Dependency) Upgrade
Projects
None yet
Development

No branches or pull requests

1 participant