vaadin / vaadin/framework

ReflectTools depends on unaccessible class

Open
#10,737 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Attempting to compile the Vaadin Framework project on JDK9 or JDK10 I run into following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project vaadin-server: Compilation failure
[ERROR] server/src/main/java/com/vaadin/util/ReflectTools.java:[90,18] cannot access com.sun.beans.introspect.PropertyInfo
[ERROR] class file for com.sun.beans.introspect.PropertyInfo not found

The use of com.sun.beans.introspect should be replaced with something compatible with JDK 8, 9 and 10.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in server/src/main/java/com/vaadin/util/ReflectTools.java around line 90 and reproduce the Maven compilation failure on JDK 9 or 10. Identify the use of com.sun.beans.introspect.PropertyInfo and replace it with an approach compatible with JDK 8, 9, and 10; done means the vaadin-server project compiles without the inaccessible-class error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.