Merge commit '42b2e5ca519766e37ce6941ba4faecc9691cc403' into upstream
[debian/openrocket] / core / src / net / sf / openrocket / util / BuildProperties.java
index 46bc3c20b09bd617f99cb5b4947688f039000921..9e88e93ea4f7866067ed290e6bae6b46658cd9fc 100644 (file)
@@ -32,7 +32,7 @@ public class BuildProperties {
        \r
        static {\r
                try {\r
-                       InputStream is = ClassLoader.getSystemResourceAsStream("build.properties");\r
+                       InputStream is = BuildProperties.class.getClassLoader().getResourceAsStream("build.properties");\r
                        if (is == null) {\r
                                throw new MissingResourceException(\r
                                                "build.properties not found, distribution built wrong" +\r