Hi Peter,

This is an issue in the following constructor:
PropertyDescriptor(PropertyDescriptor,PropertyDescriptor).
Could you please file a bug?
http://bugreport.sun.com/bugreport/

Thanks,
SAM

On 25.07.2012 16:55, Rushforth, Peter wrote:
Hi,

I have a problem with running a program at java 7, and in fact on java 6 on
non-commercial platform (ubuntu).  But it is really the fact that java 7 is
telling me to upgrade that concerns me, so I wonder if you could help tell me if
a) this is in fact a bug and b) if there as a jvm switch /setting that can be
used to allow this backwards-compatibility.

The problem is that a particular setter is not found at java 7, for the code as 
attached,
whereas it is found at java 6 (on windows and rhel java, at least).

This a maven project, which you don't actually have to run, but the comments in 
the pom
file will show you the output if you do run it.  Here is the output under java 
6&  7:

C:\Documents and Settings\...>"%JAVA_HOME%\bin\java" -cp . JavaBeansBug
java version: 1.6.0_24
created object, introspecting with java.beans.BeanInfo
NO SETTER:class

C:\Documents and Settings\...>java -cp . JavaBeansBug
java version: 1.7.0
created object, introspecting with java.beans.BeanInfo
NO SETTER:class
NO SETTER:providerManager


Thanks for any advice.  I can't change the code because it belongs to public 
libraries which
no longer seem maintained.  I have distilled the issue to the above sample 
code, I think.

Peter Rushforth
Technology Advisor / Conseiller technique
GeoConnections / GéoConnexions
650-615 Booth St. / rue Booth
Ottawa ON K1A 0E9
E-mail / Courriel: [email protected]
Phone / Télephone: (613) 943-0784
Fax / telecopier:  (613) 947-2410

Reply via email to