I got the request to extend the summary report in the email message that a scheduled Domino agent is sending out. In the report some lists of missing data in the database needs to be added so users can work more efficient. So what do we do?
- We open the Java agent in Designer Release 12.0.2FP3 (DDE)
- We import the classes import java.util.ArrayList and import java.util.List
- We create an Arraylist object List<String> arrMissingPersons = new ArrayList<String>() and start coding.
Not.
I got presented the following error messages on the String objects:
Syntax error, parameterized types are only available if source level is 1.5 or greater. WTF? What is meant with source level and how to change this? Luckily I got some hints:

I don’t want to change my workspace compliance and go back from Java 8 to Java 5. I rather go up in Java with installation of Domino 14
Changing the project compliance brings gave me even more headaches since this leads to the following:

So how should I solve this?
If I look at the agent in source code I notice:

I am not sure why the Java compiler target is set to 1.2 and when Collection was implemented in Java but this seems out of date so I choose the following action when having the JavaAgent.java file open in DDE (important, otherwise you get the properties of something different):

And this is what i find:

When I enable the default compliance settings and opt for Java 8 the errors disappear as rain for the sun. Hopefully by posting this, it will stick a bit longer in memory. Happy development