Single Quote Issue Embedded In A Nested Comment Causing "Unexpected Token <LESS_THAN>" Error

(Doc ID 2194511.1)

Last updated on OCTOBER 26, 2016

Applies to:

Oracle JDeveloper - Version 12.2.1.0.0 to 12.2.1.0.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

In JDeveloper 12.2.1.0, wrapping a single quote within nested comments in a JSP file causes an error.

For example, having 2 single quotes in the first line and another one in the second line wrapped by two different comments:


In a Java file it works, but in a JSP file it doesn't.


Cause

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