redhat-developer / redhat-developer/vscode-java

Error "exporting a package from system module is not allowed with --release"

Open
#2,733 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

compile regression
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

I started seeing this error in my workspace after upgrading to extension v1.11.0:

Screen Shot 2022-10-11 at 11 59 42 AM

My java.jdt.ls.java.home set to 17, although my java.configuration.runtimes is set to 11.

I can build & run my app from terminal, so I wonder if this error is a false positive. If I downgrade to v1.10.0, that error doesn't show up. Does anyone know what in 1.11.0 is making this error? Or is there a vscode setting I'm supposed to use to fix that error?

Environment
  • Operating System: MacOS Monterey
  • JDK version: 17
  • Visual Studio Code version: 1.72.1
  • Java extension version: 1.11.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the 1.11.0 changelog and comparing the extension behavior between v1.10.0 and v1.11.0 with java.jdt.ls.java.home set to 17 and java.configuration.runtimes set to 11. Reproduce the reported error and determine whether it is a false positive or which setting or behavior needs correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.