Akhilesh Singh created NETBEANS-3612:
----------------------------------------
Summary: "IllegalArgumentException: Unsupported kind: RECORD"
thrown while editing content. JDK 14
Key: NETBEANS-3612
URL: https://issues.apache.org/jira/browse/NETBEANS-3612
Project: NetBeans
Issue Type: Bug
Components: java - Editor
Environment: OpenJDK Runtime Environment 14-ea+27-1339
Reporter: Akhilesh Singh
Writing below code in the java editor throws IllegalArgumentException.
public class JDK14Appplication {
public static void main(String[] args) {
java.lang.Record t2 = new RECA1.Test2(5, 6);
System.out.println("class Inner record value " + t2);
}
}
class RECA1{
public record Test2(long i1, int j1) {
}
}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists