Open
Description
Compiling gwt-editors with j2cl will throw a lot of errors related to javax.validation
Error:Validation.java:20: The import java.io.BufferedReader cannot be resolved
Error:Validation.java:23: The import java.io.InputStreamReader cannot be resolved
Error:Validation.java:24: The import java.net cannot be resolved
Error:Validation.java:25: The import java.security.AccessController cannot be resolved
Error:Validation.java:26: The import java.security.PrivilegedAction cannot be resolved
Error:Validation.java:31: The import java.util.WeakHashMap cannot be resolved
Error:Validation.java:217: The method isAssignableFrom(Class<capture#1-of ? extends ValidationProvider>) is undefined for the type Class<U>
Error:Validation.java:218: The method cast(ValidationProvider) is undefined for the type Class<U>
Error:Validation.java:297: ClassLoader cannot be resolved to a type
Error:Validation.java:298: WeakHashMap cannot be resolved to a type
Error:Validation.java:298: ClassLoader cannot be resolved to a type
Error:Validation.java:303: ClassLoader cannot be resolved to a type
Error:Validation.java:303: The method fromContext() from the type Validation.GetClassLoader refers to the missing type ClassLoader
Error:Validation.java:305: The method fromClass(Class<?>) from the type Validation.GetClassLoader refers to the missing type ClassLoader
Error:Validation.java:309: ClassLoader cannot be resolved to a type
Error:Validation.java:310: ClassLoader cannot be resolved to a type
Error:Validation.java:317: URL cannot be resolved to a type
Error:Validation.java:319: URL cannot be resolved to a type
Error:Validation.java:322: BufferedReader cannot be resolved to a type
Error:Validation.java:322: InputStreamReader cannot be resolved to a type
Error:Validation.java:327: The method loadClass(String, Class<?>) from the type Validation.DefaultValidationProviderResolver refers to the missing type ClassNotFoundException
Error:Validation.java:333: The method newInstance() is undefined for the type Class<capture#7-of ?>
Error:Validation.java:347: ClassNotFoundException cannot be resolved to a type
Error:Validation.java:351: IllegalAccessException cannot be resolved to a type
Error:Validation.java:354: InstantiationException cannot be resolved to a type
Error:Validation.java:358: ClassLoader cannot be resolved to a type
Error:Validation.java:359: ClassLoader cannot be resolved to a type
Error:Validation.java:366: ClassNotFoundException cannot be resolved to a type
Error:Validation.java:369: ClassLoader cannot be resolved to a type
Error:Validation.java:369: The method fromContext() from the type Validation.GetClassLoader refers to the missing type ClassLoader
Error:Validation.java:374: ClassNotFoundException cannot be resolved to a type
Error:Validation.java:380: The method fromClass(Class<?>) from the type Validation.GetClassLoader refers to the missing type ClassLoader
Error:Validation.java:384: PrivilegedAction cannot be resolved to a type
Error:Validation.java:384: ClassLoader cannot be resolved to a type
Error:Validation.java:387: ClassLoader cannot be resolved to a type
Error:Validation.java:389: The method getSecurityManager() is undefined for the type System
Error:Validation.java:390: AccessController cannot be resolved
Error:Validation.java:393: The method run() from the type Validation.GetClassLoader refers to the missing type ClassLoader
Error:Validation.java:397: ClassLoader cannot be resolved to a type
Error:Validation.java:402: The method getSecurityManager() is undefined for the type System
Error:Validation.java:403: AccessController cannot be resolved
Error:Validation.java:406: The method run() from the type Validation.GetClassLoader refers to the missing type ClassLoader
Error:Validation.java:414: ClassLoader cannot be resolved to a type
Error:Validation.java:416: The method getClassLoader() is undefined for the type Class<capture#15-of ?>
Error:Validation.java:419: Thread cannot be resolved
Error:Pattern.java:77: java.util.regex cannot be resolved to a variable
Error:Pattern.java:83: java.util.regex cannot be resolved to a variable
Error:Pattern.java:89: java.util.regex cannot be resolved to a variable
Error:Pattern.java:95: java.util.regex cannot be resolved to a variable
Error:Pattern.java:101: java.util.regex cannot be resolved to a variable
Error:Pattern.java:107: java.util.regex cannot be resolved to a variable
Error:Pattern.java:113: java.util.regex cannot be resolved to a variable
The respository here has a sample to reproduce the issue.
Metadata
Metadata
Assignees
Labels
No labels