We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d71ad42 + 78c96a9 commit dc7b221Copy full SHA for dc7b221
src/main/java/com/pubnub/api/PubNub.java
@@ -232,7 +232,7 @@ public final void reconnect() {
232
*/
233
private String fetchSDKVersion() {
234
Properties prop = new Properties();
235
- InputStream in = ClassLoader.getSystemClassLoader().getResourceAsStream("version.properties");
+ InputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream("version.properties");
236
try {
237
prop.load(in);
238
} catch (IOException e) {
0 commit comments