<Beans Dev> [9] RFR 4763438: Replace uses of @beaninfo with meta facility in core j2se

Sergey Malenkov malenkov at gmail.com
Tue Sep 16 14:53:53 UTC 2014


The @BeanProperty and the @Transient annotations are used during
introspection JavaBeans. Information from these annotations is used
fro XMLEncoder/XMLDecoder. My fix minimizes changes in this
information.
To check this you can use a test that generates BeanInfo for
AWT/Swing. As I remember it is located in test/java/beans/performance.
Do not forget to add dt.jar into classpath.


On Fri, Sep 12, 2014 at 3:07 PM, Sergey Bylokhov
<Sergey.Bylokhov at oracle.com> wrote:
> Hi, Sergey.
> Can you provide additional information about how @BeanProperty and
> @Transient correspond to each other. And why some of the methods are
> marked/skipped(AbstractButton.setLayout for ex) in the swing classes.
>
>
> On 20.08.2014 12:45, Sergey Malenkov wrote:
>>
>> Hello,
>>
>> Could you please review the following fix:
>> http://cr.openjdk.java.net/~serb/sam/4763438/webrev.00/
>> http://bugs.openjdk.java.net/browse/JDK-4763438
>>
>> This is the second step needed for 7179078. It removes class files
>> from dt.jar and replaces them with BeanInfo generated at runtime
>> according to the specified annotations.
>>
>> Thanks,
>> SAM
>
>
>
> --
> Best regards, Sergey.
>



-- 
Best regards,
Sergey A. Malenkov


More information about the beans-dev mailing list