java/beans/PropertyEditor/* tests failed on Mac
- Dominant language
- HTML
- Stars
- 155
- Forks
- 346
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
java/beans/PropertyEditor/* and java/beans/XMLEncoder/java_awt_ScrollPane.java failed on Mac with jdk11 and jdk16.
https://bugs.openjdk.java.net/browse/JDK-8173082
https://bugs.openjdk.java.net/browse/JDK-8030104
The error messages are similar for each PropertyEditor tests. One example:
```
Stacktrace
Execution failed: `main' threw exception: java.lang.Error: could not find editor for class java.awt.Font
Standard Output
Property class: class java.awt.Font
Standard Error
java.lang.Error: could not find editor for class java.awt.Font
at TestEditor.(TestEditor.java:35)
at TestFontClassJava.main(TestFontClassJava.java:39)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
```
Related https://github.com/adoptium/adoptium/issues/62
https://github.com/adoptium/adoptium/issues/63
JBS reported happened to all platforms with jdk9 and fixed. https://bugs.openjdk.java.net/browse/JDK-8173082. Looks same issue has not be fixed for mac actually.
Contributor guide
Research direction
Start with the failing java/beans/PropertyEditor/* tests and java/beans/XMLEncoder/java_awt_ScrollPane.java on Mac with JDK 11 or JDK 16, then compare the failures with JDK-8173082 and JDK-8030104. The work is done when the PropertyEditor failures, including the java.awt.Font case, no longer occur on Mac.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100