java / devrel

Java DevRel feedback
https://inside.java
10 stars 1 forks source link

[Bug]: Emoji character results in "Something is wrong!? Please try again." #4

Closed Thunderforge closed 1 year ago

Thunderforge commented 1 year ago

What happened?

The following source code

var foo = "😄";

results in the error "Something is wrong!? Please try again." However, trying again produces the same error.

For reference: this is valid Java. Using JShell, I can write:

jshell> var foo = "😄"
foo ==> "😄"

Related is that using an emoji anywhere in code produces the "Something is wrong!?" error message, rather than a more specific error message that might better describe the real problem. Here are some examples of invalid code that have their issues masked by "Something is wrong!?":

var 😄 = "foo";
System.out.😄("Hello world!")
😄

OS

macOS

What browsers are you seeing the problem on?

Firefox

Contact Details (optional)

No response

delabassee commented 1 year ago

this is now solved