Skip to content

Update Lucene 3.x editor dependency #8384

@mbien

Description

@mbien

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.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Upgrade LibraryLibrary (Dependency) Upgradepriority:highHigh priority issue that should, if possible, be fixed in next release

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions