Skip to content

Conversation

@jan-vcapgemini
Copy link
Contributor

@jan-vcapgemini jan-vcapgemini commented May 12, 2025

Fixes: #169

Implements

  • changed jline-terminal from 3.26.2 to 3.29.0
  • added dependabot suggestion

Comments
I've upgraded the jline-terminal version of progressbar and recompiled our native image of IDEasy with it.
The disturbing warning messages disappeared and the progressbar worked properly.
Last warning message which popped up only once (was not disturbing the progressbar) was:

$ ide -d install android-studio latest
Running commandlet InstallCommandlet[install]
IDE environment variables have been set for D:\projects\ideasy-dev in workspace main
Running command 'C:\Program Files\Git\mingw64\bin\git.exe' with arguments 'rev-parse' '@{u}' ...
Updates are available for the settings repository. If you want to apply the latest changes, call "ide update"
The path D:\projects\_ide\urls\.git\HEAD was last updated PT1H6M14.712S ago and caching duration is PT30M.
Will need to do git pull/clone on D:\projects\_ide\urls because last fetch was some time ago.
Running command 'C:\Program Files\Git\mingw64\bin\git.exe' with arguments 'remote' ...
Running command 'C:\Program Files\Git\mingw64\bin\git.exe' with arguments '--no-pager' 'pull' '--quiet' ...
Running command 'C:\Program Files\Git\mingw64\bin\git.exe' with arguments 'diff-index' '--quiet' 'HEAD' ...
Running command 'C:\Program Files\Git\mingw64\bin\git.exe' with arguments 'ls-files' '--other' '--directory' '--exclude-standard' ...
Resolved version pattern * to version 2025.1.1.10
Resolved version pattern * to version 2025.1.1.10
Resolved version * to 2025.1.1.10 for tool android-studio/android-studio
ANDROID_STUDIO_VERSION=* has been set in SETTINGS@D:\projects\ideasy-dev\settings\ide.properties
Tool android-studio not installed in D:\projects\ideasy-dev\software\android-studio
Start: Install android-studio
Tool android-studio has 0 other tool(s) as dependency
Trying to download android-studio-2025.1.1.10-windows-x64.zip.5 from https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2025.1.1.10/android-studio-2025.1.1.10-windows.zip
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by org.jline.nativ.JLineNativeLoader in an unnamed module (file:/D:/projects/_ide/installation/bin/ideasy.exe)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

Downloading   5% [===                                                       ]   79/1416MiB (0:00:42 / 0:12:00) 1.9MiB/s

But should be fixed in next Maven release: https://issues.apache.org/jira/browse/MNG-8248

About the added dependabot.yml: I'd suggest to add this to your repository for automatic dependabot checks. You probably need to enable it in your security settings though.

Fixes: ctongfei#169

**Implements**
* changed jline-terminal from 3.26.2 to 3.29.0
* added dependabot suggestion
@ctongfei ctongfei self-assigned this May 23, 2025
@ctongfei ctongfei added dependencies Pull requests that update a dependency file jline labels May 23, 2025
@scordio
Copy link

scordio commented May 30, 2025

FYI, #174 upgrades jline-terminal to 3.30.4.

@ctongfei
Copy link
Owner

Thanks @jan-vcapgemini . Will be released in the next version.

@ctongfei ctongfei changed the base branch from main to 0.10.2 May 31, 2025 07:13
@ctongfei ctongfei merged commit 669bfc4 into ctongfei:0.10.2 May 31, 2025
@zbynek zbynek mentioned this pull request Oct 19, 2025
@ctongfei ctongfei mentioned this pull request Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file jline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NoSuchFieldError: org.jline.nativ.Kernel32.INVALID_HANDLE_VALUE

3 participants