Skip to content

Conversation

@beikov
Copy link
Member

@beikov beikov commented Sep 12, 2025

[Please describe here what your change is about]


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-14892
https://hibernate.atlassian.net/browse/HHH-19762

*/
private static int getRunningID() {
// enable parallelization of up to GRADLE_MAXIMUM_PARALLEL_FORKS
final Integer maxParallelForks = Integer.valueOf( System.getProperty( GRADLE_MAXIMUM_PARALLEL_FORKS, "1" ) );

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note test

Potential uncaught 'java.lang.NumberFormatException'.
// enable parallelization of up to GRADLE_MAXIMUM_PARALLEL_FORKS
final Integer maxParallelForks = Integer.valueOf( System.getProperty( GRADLE_MAXIMUM_PARALLEL_FORKS, "1" ) );
// Note that the worker ids are strictly monotonic
final Integer worker = Integer.valueOf( System.getProperty( GRADLE_WORKER_ID, "1" ) );

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note test

Potential uncaught 'java.lang.NumberFormatException'.
@beikov beikov merged commit 41b3177 into hibernate:main Sep 12, 2025
25 of 26 checks passed
@beikov beikov deleted the HHH-19762 branch September 12, 2025 10:27
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