Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes Java-related warnings that appear with recent Java versions, updates example configuration for Windows development environment, and removes obsolete Atom editor configuration.
Changes:
- Replaced deprecated
new Long()constructors withLong.valueOf()to eliminate Java compilation warnings - Added
--enable-native-access=ALL-UNNAMEDJVM argument to suppress runtime warnings in Java 22+ - Updated example Python and Java paths in Windows bash profile to reflect newer versions
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/webots/control/WbLanguageTools.cpp | Refactored javaArguments() to return consolidated list and added --enable-native-access flag |
| src/controller/java/controller.i | Replaced deprecated Long constructor with Long.valueOf() in Field, Node, and Proto classes |
| scripts/install/bash_profile.windows | Updated example Python/Java paths and added VSCodium launcher function |
| docs/reference/changelog-r2025.md | Added changelog entry for Java warning fixes |
| .gitignore | Added .claude folder to gitignore |
| .atom-build.json | Removed obsolete Atom editor build configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…k' of https://github.com/cyberbotics/webots into fix-java-compilation-warning-with-recent-versions-of-jdk
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
CoolSpy3
requested changes
Feb 13, 2026
Co-authored-by: CoolSpy3 <55305038+CoolSpy3@users.noreply.github.com>
Co-authored-by: CoolSpy3 <55305038+CoolSpy3@users.noreply.github.com>
…k' of https://github.com/cyberbotics/webots into fix-java-compilation-warning-with-recent-versions-of-jdk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes warnings showing up with recent versions of Java, both at compilation (deprecation warning) and runtime.
I also updated the wiki for installing the OpenJdk on Windows.
This PR also cleans-up some obsolete file (atom related file), add an example bash command for launching VSCodium on Windows, and add a gitignore entry for the
.claudefolder, which is commonly used.