Parameterized types syntax error in Java function
Unable to save a function to an existing library. The function includes the below line of Java code:
List<ModelDetails> details = new ArrayList();
Syntax error, annotations are only available if source level is 1.5
Steps to ReproduceCreate a function with Java 1.5 features, such as generics and parameterized types.
Java 1.5 features are not supported in Pega 6.3 SP1 libraries.
- Upgrade to Pega 7.1.8.
- Alternatively, use an external JAR file with the Java 1.5 code and reference it in a Java activity step.
0% found this useful