GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [MPMD-385] Support for --enable-preview · Issue #353 · apache/maven-pmd-plugin

[MPMD-385] Support for --enable-preview #353

New issue
Copy link
New issue
Copy link
Open
Open
[MPMD-385] Support for --enable-preview#353
Copy link
Labels
enhancementNew feature or requestpriority:majorMajor loss of function

Description

@jira-importer
jira-importer
opened on Aug 8, 2023
Issue body actions

Gili opened MPMD-385 and commented

When running PMD against classes compiled using --enable-preview I get:

[WARNING] Error during type resolution of field <redacted> in class <redacted> due to: java.lang.UnsupportedClassVersionError: Preview features are not enabled for gg/soulbound/optimus/server/Server (class file version 64.65535). Try running with '--enable-preview'

It seems that PMD expects us to pass --enable-preview, but the Maven plugin does not provide a mechanism for doing so. I tried setting targetJdk to "20-preview" but that didn't help either.


Affects: 3.21.0

Activity

  1. jira-importer
    added
    enhancementNew feature or request
    priority:majorMajor loss of function
    on Jun 15, 2025
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

    enhancementNew feature or requestpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.