You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The transformation of the startscripts' classpath property to the relative classpath used inside the start scripts does not maintain the classpath order.
Expected Behavior
Relative classpath must have the same order as the configured classpath
Current Behavior
getRelativeClasspath() uses
public static <R, I> Set<R> collect(Set<? extends I> set, Transformer<? extends R, ? super I> transformer) {
return collect(set, new HashSet<R>(), transformer);
}
which uses a new HashSet instance to create the transformed Iterable and therefore the order is undefined.
The transformation of the startscripts' classpath property to the relative classpath used inside the start scripts does not maintain the classpath order.
Expected Behavior
Relative classpath must have the same order as the configured classpath
Current Behavior
getRelativeClasspath()
useswhich uses a new HashSet instance to create the transformed Iterable and therefore the order is undefined.
CreateStartScripts.java
Steps to Reproduce (for bugs)
Bug is still on master, discovered in version 4.0.1
The text was updated successfully, but these errors were encountered: