eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

Javadoc View Inconsistent with javadoc:javadoc

Open
#492 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
127
Avg merge
22h 47m
Merged PRs (30d)
28

Description

Consider the Java file "Cat.java":

```java
package org.foo.bar;

/**
* This class defines the representation of a \uD83D\uDC08.
*/
public class Cat {}
```

In the "Javadoc" View (a tab in the Eclipse IDE next to "Problems", "Declaration" and "Console") I see:

> This class defines the representation of a \uD83D\uDC08.

When I run the `clean compile javadoc:javadoc` Maven goals (Right click on project > Run As > Maven build...; add `JAVA_HOME`: "/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/"; specify goals; run) I get:

> This class defines the representation of a 🐈.

Shouldn't Eclipse's "Javadoc" View and `javadoc:javadoc` render the comment in the same way?

---

Note: I first reported this at https://github.com/eclipse-platform/.github/issues/106 and was told:

> Thanks for this report.
> The Javadoc view is provided by the JDT sub-project. We cannot transfer issues to the eclipse-jdt organization, so can you please re-report it to https://github.com/eclipse-jdt/eclipse.jdt.ui/ ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.