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

Use new String#indexOf overload for Starlark's stringFind #23255

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Aug 9, 2024

Since Java 21, the internal indexOf method on String that accepts start and end position is available as public API.

@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Aug 9, 2024
Since Java 21, the internal `indexOf` method on String that accepts start and end position is available as public API.
@iancha1992 iancha1992 added team-Rules-Java Issues for Java rules team-Starlark-Interpreter Issues involving the Starlark interpreter used by Bazel and removed team-Rules-Java Issues for Java rules labels Aug 9, 2024
@tetromino
Copy link
Contributor

tetromino commented Aug 9, 2024

Unfortunately, for now we cannot use java21 features in any file under src/main/java/net/starlark because they are depended upon by several external projects which require building with jdk11 :/

@tetromino tetromino closed this Aug 9, 2024
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Aug 9, 2024
@fmeum fmeum deleted the string-find branch August 9, 2024 22:00
@fmeum fmeum restored the string-find branch August 9, 2024 22:01
@fmeum fmeum reopened this Sep 19, 2024
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Sep 19, 2024
@fmeum fmeum closed this Sep 19, 2024
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Starlark-Interpreter Issues involving the Starlark interpreter used by Bazel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants