Troubleshooting
Problem
Compiling Java5 gererics in SQLJ results in Java Parsing error in IBM Rational Application Developer for WebSphere Software.
Symptom
Java5 generics in SQLJ Example:
ArrayList<String> myArrayList = new ArrayList<String>();
The following error code is produced:
SQLJ Translate: Error: Java Parsing. Encountered: <
Expected: <IDENTIFIER> ...; "[" ...;
[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Database Tooling","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;7.0","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21444793