Skip to content

Refactor JMeter Core to Replace Deprecated ORO Library Usage #6645

Description

@mani0207

Use case

The JMeter core currently references the legacy ORO library, which is outdated and flagged as deprecated or TLM (Technical Lifecycle Management) in the project. This issue aims to refactor the codebase to remove dependencies on the ORO library and replace it with a modern, actively maintained alternative (e.g., java.util.regex or Apache Commons Text, if applicable).

Possible solution

  1. Identify all instances in the JMeter core where the ORO library is used.
  2. Replace the ORO library usage with a suitable alternative.
  3. Ensure backward compatibility where necessary.
  4. Update the build.gradle or pom.xml to remove the ORO library dependency.
  5. Test the changes thoroughly to ensure no regressions are introduced.

Possible workarounds

No response

JMeter Version

5.6.3

Java Version

jdk 17

OS Version

No response

Activity

  1. FSchumacher commented on Feb 28, 2026

    @FSchumacher
    Contributor

    You can already switch from oro to jdk based regex library by setting jmeter.regex.engine to any value different from oro.

    That work has been done with #700. If you want, you can discuss making the jdk implementation now the default and deprecating the oro one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions