Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#969: Use new CTPG parser in java vm #455

Merged
merged 43 commits into from
Oct 15, 2024

Conversation

tomuben
Copy link
Collaborator

@tomuben tomuben commented Oct 2, 2024

related to exasol/script-languages-release#969

Please note: The unit tests at https://github.com/exasol/script-languages/blob/master/exaudfclient/base/javacontainer/test/cpp/javacontainer_test.cc are being re-used to test identical behavior of both parser: The old (named legacy) parser, and the new (based on CTPG) parser.

@tomuben tomuben force-pushed the refactoring/967_add_ctpg_script_options_parser branch from f156bf4 to cc7e7d1 Compare October 9, 2024 11:51
Base automatically changed from refactoring/967_add_ctpg_script_options_parser to master October 9, 2024 15:16
@tomuben tomuben force-pushed the refactoring/969_use_new_ctpg_parser_in_java_vm branch from 2b0ba44 to 77e9955 Compare October 10, 2024 14:01
exaudfclient/exaudfclient.cc Outdated Show resolved Hide resolved
std::make_pair("\\f-Dhttp.agent=ABCDEF", "-Dhttp.agent=ABCDEF"),
std::make_pair("\\v-Dhttp.agent=ABCDEF", "-Dhttp.agent=ABCDEF")
};

Copy link
Collaborator

@tkilias tkilias Oct 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a test for escaped whitespace in the middle of a option, because this was one of the cases that was as bug reported

-Dhttp.agent=ABC\ DEF;

This is less of an option line parser issue then an issue of the value handling of the Jvm options splitter

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bug is not fixed yet.
My plan was to fix exasol/script-languages-release#878 in another PR, in order to keep a clean git history.

In the scope of #878 I will extend the test here.

@tomuben tomuben merged commit a2a2f0b into master Oct 15, 2024
24 checks passed
@tomuben tomuben deleted the refactoring/969_use_new_ctpg_parser_in_java_vm branch October 15, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants