Maxim Solodovnik created OPENJPA-2946:
-----------------------------------------

             Summary: Java Compiler Compiler Warnings need to be addressed
                 Key: OPENJPA-2946
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2946
             Project: OpenJPA
          Issue Type: Sub-task
          Components: jpa
    Affects Versions: 4.1.1
            Reporter: Maxim Solodovnik


Original analysis: 
https://github.com/apache/openjpa/pull/144#issuecomment-5323990530

Following warnings need to be sorted out:

{code}
Java Compiler Compiler Version 5.0 (Tree Builder)
(type "jjtree" with no arguments for help)
Warning: Bad option value in "-JDK_VERSION=17" will be ignored.
Reading from file 
/home/solomax/work/_oss/openjpa/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt
 . . .
File "Node.java" does not exist.  Will create one.
File "JPQLTreeConstants.java" does not exist.  Will create one.
File "JJTJPQLState.java" does not exist.  Will create one.
Annotated grammar generated successfully in 
/home/solomax/work/_oss/openjpa/openjpa-kernel/target/javacc-1779085259067/node/JPQL.jj
Java Compiler Compiler Version 5.0 (Parser Generator)
(type "javacc" with no arguments for help)
Warning: Bad option value in "-JDK_VERSION=17" will be ignored.
Reading from file 
/home/solomax/work/_oss/openjpa/openjpa-kernel/target/javacc-1779085259067/node/JPQL.jj
 . . .
Warning: Choice conflict in (...)* construct at line 1053, column 17.
         Expansion nested within construct and expansion following construct
         have common prefixes, one of which is: "+"
         Consider using a lookahead of 2 or more for nested expansion.
Warning: Choice conflict in (...)* construct at line 1062, column 17.
         Expansion nested within construct and expansion following construct
         have common prefixes, one of which is: "*"
         Consider using a lookahead of 2 or more for nested expansion.
Warning: Choice conflict involving two expansions at
         line 1533, column 12 and line 1534, column 12 respectively.
         A common prefix is: "AVG" "("
         Consider using a lookahead of 3 or more for earlier expansion.
Warning: Choice conflict involving two expansions at
         line 1533, column 34 and line 1534, column 12 respectively.
         A common prefix is: <IDENTIFIER>
         Consider using a lookahead of 2 for earlier expansion.
File "TokenMgrError.java" does not exist.  Will create one.
File "ParseException.java" does not exist.  Will create one.
File "Token.java" does not exist.  Will create one.
File "JavaCharStream.java" does not exist.  Will create one.
Parser generated with 0 errors and 4 warnings.
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to