You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "tkobayas (via GitHub)" <gi...@apache.org> on 2026/03/19 01:32:58 UTC

[I] Warning: Bad option value in "-JDK_VERSION=17.0.9" will be ignored. [incubator-kie-drools]

tkobayas opened a new issue, #6620:
URL: https://github.com/apache/incubator-kie-drools/issues/6620

   https://kie.zulipchat.com/#narrow/channel/381961-drools-dev/topic/MVEL-related/near/580193721
   
   When we build `drools/drools-model/drools-mvel-parser`, we get the warning:
   ```
   [INFO] --- ph-javacc:4.1.2:javacc (javacc) @ drools-mvel-parser ---
   ParserGeneratorCC Version 1.1.1 (ParserGeneratorCC)
   (type "pgcc" with no arguments for help)
   Warning: Bad option value in "-JDK_VERSION=17.0.9" will be ignored.
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Warning: Bad option value in "-JDK_VERSION=17.0.9" will be ignored. [incubator-kie-drools]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas closed issue #6620: Warning: Bad option value in "-JDK_VERSION=17.0.9" will be ignored.
URL: https://github.com/apache/incubator-kie-drools/issues/6620


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Warning: Bad option value in "-JDK_VERSION=17.0.9" will be ignored. [incubator-kie-drools]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on issue #6620:
URL: https://github.com/apache/incubator-kie-drools/issues/6620#issuecomment-4124516547

   Done by https://github.com/apache/incubator-kie-drools/pull/6621


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Warning: Bad option value in "-JDK_VERSION=17.0.9" will be ignored. [incubator-kie-drools]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on issue #6620:
URL: https://github.com/apache/incubator-kie-drools/issues/6620#issuecomment-4087040100

   `17.0.9` comes from `<jdkVersion>${java.version}</jdkVersion>` which is an actual JDK version running maven. https://github.com/apache/incubator-kie-drools/blob/10.1.0/drools-model/drools-mvel-parser/pom.xml#L76
   
   It's not accepted by parser-generator-cc , then falls back to `JDK_VERSION = "1.8";` configured in mvel.jj : https://github.com/apache/incubator-kie-drools/blob/10.1.0/drools-model/drools-mvel-parser/src/main/javacc/mvel.jj#L40
   
   The warning is harmless and it should be fine with the default `1.8`. So I'll remove the `<jdkVersion>${java.version}</jdkVersion>`  line to avoid the confusion.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org