Skip to content
Snippets Groups Projects
Commit 3cb9a4ab authored by Emmanuel Bourg's avatar Emmanuel Bourg
Browse files

Applied Chris Lamb's patch to make the build reproducible (Closes: #862183)

parent ca24caee
No related branches found
No related tags found
No related merge requests found
libjgroups-java (2.12.2.Final-5) UNRELEASED; urgency=medium libjgroups-java (2.12.2.Final-5) UNRELEASED; urgency=medium
* Applied Chris Lamb's patch to make the build reproducible (Closes: #862183)
* Build with Maven instead of Ant * Build with Maven instead of Ant
* Removed the unused build dependency on glassfish-javaee * Removed the unused build dependency on glassfish-javaee
* Moved the package to Git * Moved the package to Git
......
Description: Sort the classes to make the build reproducible
Author: Chris Lamb <lamby@debian.org>
Bug-Debian: https://bugs.debian.org/862183
--- a/src/org/jgroups/util/XMLSchemaGenerator.java
+++ b/src/org/jgroups/util/XMLSchemaGenerator.java
@@ -102,7 +102,7 @@
private static Set<Class<?>> getClasses(String packageName, Class<?> assignableFrom)
throws IOException, ClassNotFoundException {
ClassLoader loader = Thread.currentThread().getContextClassLoader();
- Set<Class<?>> classes = new HashSet<Class<?>>();
+ Set<Class<?>> classes = new java.util.TreeSet<Class<?>>();
String path = packageName.replace('.', '/');
URL resource = loader.getResource(path);
if (resource != null) {
01_disable_diagnostics.patch 01_disable_diagnostics.patch
02_reproducible_schema_generator.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment