Skip to content

Conversation

siva-sai-udaygiri
Copy link

Fixes #30501

Replace -Djava.security.egd=file:/dev/./urandom with -Djava.security.egd=file:/dev/urandom in:

  • generators/java/generators/jib/templates/src/main/docker/jib/entrypoint.sh.ejs
  • generators/spring-boot/templates/build.gradle.ejs
  • generators/spring-boot/templates/gradle/profile_dev.gradle.ejs
  • generators/spring-boot/templates/gradle/profile_prod.gradle.ejs
  • generators/spring-boot/templates/pom.xml.ejs

This avoids slow SecureRandom initialization on Windows and speeds up test startup.

@siva-sai-udaygiri
Copy link
Author

Hi @DanielFran — I applied the suggestion. Could you approve CI for this PR when you get a chance?

@DanielFran
Copy link
Member

@SSUday It seems not working for reactive

@mshima
Copy link
Member

mshima commented Sep 5, 2025

We should try to remove the custom settings.
It should be the default .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

java.security.egd=file:/dev/./urandom causes slow test

3 participants