JavaAgent Changed to JRE 1.5 (FileNet CE 4.5.1)

Hey Gang!

I have just migrated a Java class from Eclipse Ganymede to a JavaAgent on Domino 8.5.2 (DDE)to connect to FileNet. In doing so, the environment asked me to revert compatibility for the code to work… has a list (import java.util.Iterator;) apparently the JavaAgent cannot work with a list having JRE 1.6.

I tested this locally, it works fine, code runs as it should.

Should I be concerned? When I accepted the backward compatibility, I chose it at the project level and not at the workspace level, hope that makes a difference.

The code I am using can be found here, page 15-18: IBM Developer

Any input you have is appreciated!

Köll

Subject: JavaAgent Compliance to JRE 1.5 (Fixed: Added Info)

Important info:

In instances where params are needed, you can go to Project + Properties + Java Compiler + Put ‘Generated .class’ and ‘Source Compatibility’ at the level of your current JDK version. Of course, to keep as is, do as mentioned prior, provided params are not needed.

Subject: JavaAgent compatibility issue (Fixed)

All I needed was to remove the parameter call

from this

Iterator <?> it = documents.iterator();

to this

Iterator it = documents.iterator();