Skip to content

"New > Java Class" wizard cannot create a class for Japanese identifiers. #789

Description

@jdneo

Originally reported from redhat-developer/vscode-java#3289

When I open the "New > Java Class" wizard and enter a Japanese class name, I receive the message "Invalid Java qualified name." and I am unable to create a Java class.

Environment
  • Operating System: Windows 11
  • JDK version: 17
  • Visual Studio Code version: 1.79.2
  • Java extension version: v0.25.14
Steps To Reproduce
  1. Select any package, right-click, and choose "New > Java Class."
  2. Enter Japanese characters as the class name. For example, "ほげ"
Current Result

It displays "Invalid Java qualified name."

Expected Result

The class is generated.

Additional Informations

In Java, we can use characters from languages such as Japanese and others in identifiers.

https://docs.oracle.com/javase/specs/jls/se17/html/jls-3.html#jls-3.8

Activity

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

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions