Unable to commit JCD of JCAPS 6.2 with Java 1.5 collections code within NetBeans IDE

(Doc ID 1026281.1)

Last updated on FEBRUARY 05, 2013

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6.3 and later
Information in this document applies to any platform.
Information in this document applies to any platform.
***Checked for relevance on 05-Feb-2013***


I am using a repository based project (JCAPS 6.2 with NetBeansIDE 6.5.1).

What configuration or setting is needed in NetBeans IDE in order to use Java 1.5 Generics/Colletions (e.g List<String>).

Currently I am unable to commit the changes in JCD with List<String> aList = new ArrayList<String>();

I get the following error message when I commit the below code in editor:

jcdTest:ERROR:Line 22, Column 30 Encountered "<" at line 22, column 39. Was expecting one of : "("... "."... "["... at line 22

JCD Code is very simple:

//**** JCD Code start ****
package prjTest62;

import java.util.ArrayList;
import java.util.List;

public class jcdTest

public com.stc.codegen.logger.Logger logger;

public com.stc.codegen.alerter.Alerter alerter;

public com.stc.codegen.util.CollaborationContext collabContext;

public com.stc.codegen.util.TypeConverter typeConverter;

public void receive( com.stc.connectors.jms.Message input, com.stc.connectors.jms.JMS jmsSend )
throws Throwable
List<String> a = new ArrayList<String>();

//**** JCD Code End ****


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms