jean pierre Lerbscher

Results 339 comments of jean pierre Lerbscher

I've opened an exit on the project. We may have to change distrition soon.

You are right. JP cannot resolve the key(Integer... tokens) method from key(KEYWORD_LBRA, RPAR) because it considers that int[] cannot be assigned to Integer[]. Probably related to https://docs.oracle.com/javase/specs/jls/se8/html/jls-5.html#jls-5.3 (Invocation Contexts#Loose invocation...

Thank you. Can you show us how you configure the parser.

I get no exceptions when I parse your class with this code snippet. JavaParser javaParser = new JavaParser(); javaParser.getParserConfiguration().setLanguageLevel(ParserConfiguration.LanguageLevel.RAW); ParseResult result = javaParser.parse(code);

Your test case can be reduced to the following. There seem to be 2 problems: The label parsing which does not tolerate the '.' character; The parsing of the expression...

This problem seems to have been solved in the current version javaparser-parent-3.26.0-snapshot

I'm closing this issue as it seems to have been resolved.

This case is not currently covered. Thank you for reporting this bug.