Skip to content

[core] Deprecate old symboltable API #4767

Closed

Description

@adangel

Summary
There is still the old symboltable API available, see https://github.com/pmd/pmd/tree/master/pmd-core/src/main/java/net/sourceforge/pmd/lang/symboltable

This is only being used by PLSQL. Java now has a new implementation independent of this.

I think, we should deprecate this API, so that it's official marked as "do not use". Eventually, we can remove it.

Describe the solution you'd like

  • Deprecate it after 7.0.0 is finally released. Hence I milestoned this issue to be "7.x".
  • It's just a cleanup that slipped 7.0.0
  • To keep PLSQL running, we can internalize this old API and move it to PLSQL
  • It can finally be removed with 8.0.0

Note: I've added a remark about this old API in the documentation in #4766 (which will end up in https://docs.pmd-code.org/snapshot/pmd_devdocs_major_adding_new_language_javacc.html).

Activity

  1. added
    is:deprecation
    on Dec 8, 2023
  2. added this to the 7.x milestone on Dec 8, 2023
  3. modified the milestones: 7.x, 7.19.0 on Oct 30, 2025
  4. added a commit that references this issue on Nov 20, 2025
    4b54a44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:deprecation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions