Community
Participate
Working Groups
java.lang.Class::getRecordComponents which will return a array of java.lang.reflect.RecordComponents. From: http://cr.openjdk.java.net/~gbierman/8222777/8222777-20190823/specs/records-jls.html#jls-8.10 Adding the bug to keep in the radar
Loading of record class fails due to this when there are fields.
With latest Y build Normal launching and debugging works with record. Sample usage: public class UsePoint { public static void main(String[] args) { Point x = new Point(10, 9); System.out.println(x.j); Point y = new Point(7, 5); System.out.println(y.j); } } record Point(int hi, int lo) { static int j = 0; public Point { if (lo > hi) { System.out.println("Invalid"); } j++; } }
I will work on adding a node RecordComponent and then show the components under that.
Not doing for Beta branch.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.