Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Intellisense shows types in packages that are not exported in the module. #1311

Open
billwert opened this issue Apr 23, 2024 · 0 comments

Comments

@billwert
Copy link
Member

Environment:

  • VS Code Version: 1.88.1
  • Extension Version: v0.26.0
  • JDK Type & Version: OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
  • OS Type & Version: Windows 11

Step to Reproduce:

  1. New project
  2. Add a ref to this package:
          <dependency>
            <groupId>com.azure</groupId>
            <artifactId>azure-messaging-eventgrid-namespaces</artifactId>
            <version>1.0.0-beta.1</version>
        </dependency>
  1. add a module-info.java
  2. Ensure the language level is set to 9+

Expected Behavior:
new EventGrid typed presents types in intellisense that are available

Actual Behavior:
Typing new EventGrid shows types that are in our implementation package which is not exported from the module.

Related Issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant