-
Bug
-
Resolution: Fixed
-
P3
-
17.0.7, 19, 20, 21
-
b26
-
x86_64
-
windows_10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8309722 | 17.0.14-oracle | Alexey Ivanov | P3 | Resolved | Fixed | b01 |
JDK-8311063 | 17.0.9 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
JDK-8339493 | 11.0.26-oracle | Alexey Ivanov | P3 | Resolved | Fixed | b01 |
Windows 11, using NetBeans, JDK 19
A DESCRIPTION OF THE PROBLEM :
Please refer to https://github.com/apache/netbeans/issues/5774 for the original post, where I was advised to report this against OpenJDK
Attachments can be found in the above GitHub issue.
When creating a BeanInfo using netbeans, in the getBdescriptor() method, we can set the value "containerDelegate" using the following line of code to delegate to another container.
beanDescriptor.setValue("containerDelegate", "getInnerPanel");
These examples work with all previous JDK versions, except for JDK 19
I also tested JDK 13, 14, 15, 16, 17 and 18 and they all work fine.
REGRESSION : Last worked in version 17.0.6
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Having NetBeans installed, any version, 17 as reference.
Using the Dummy Projects ( From GitHub issue mentioned above)
With any new JPanel, or using MainPanel:
Drag or add a SectionPanel instance to MainPanel
Then add any other widget (i.e. JLabel) from the palette in the SectionPanel instance
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
SectionPanel should be recognized as a Container, therefore the widget should get added into the SectionPanel instance
ACTUAL -
SectionPanel is not recognized as a Container, and no other widget can be added to it when using the widgets palette in NetBeans
---------- BEGIN SOURCE ----------
Attached to https://github.com/apache/netbeans/issues/5774
---------- END SOURCE ----------
FREQUENCY : always
- backported by
-
JDK-8309722 PropertyDescriptor should work with overridden generic getter method
- Resolved
-
JDK-8311063 PropertyDescriptor should work with overridden generic getter method
- Resolved
-
JDK-8339493 PropertyDescriptor should work with overridden generic getter method
- Resolved
- duplicates
-
JDK-8309464 PropertyDescriptor - method not found (in case when class implements interface)
- Closed
- relates to
-
JDK-8280132 Incorrect comparator com.sun.beans.introspect.MethodInfo.MethodOrder
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/3d53b270
-
Commit openjdk/jdk/73dd03cc
-
Review openjdk/jdk17u-dev/1501
-
Review openjdk/jdk/14228