Build: #1945 has been queued for 3140 minutes Changes by Florian Schmaus
Code commits
Smack (master)
-
Florian Schmaus 3c5fb5810e00eda9d535f8cd788d2b036c6b8c64
Smack 4.5.0-beta6-SNAPSHOT
-
Florian Schmaus caa479fac44a424e837d1f5fd8e651dc8347ffee
Smack 4.5.0-beta5
-
Florian Schmaus 3b0c2f752f52b951adf60a8f821dd3c6789e09c2
[core] Remove NumberFormatException from innermost try/catch in parseAndProcessStanza()
This was added in 02d8f53246b3 ("[core] Increase resilience against
faulty parser implementions"). However, NumberFormatException is a
subclass of IllegalArgumentException, which is already catched by the
outermost catch. -
Florian Schmaus 0ee5acc49400f5083c516c93b1137a01eaad8140
Remove usage of deprecated URL constructor
Although those URL constructors are only deprecated with Java 20, this
already removes their usage.- smack-core/src/main/java/org/jivesoftware/smack/Smack.java (version 0ee5acc49400f5083c516c93b1137a01eaad8140) (diffs)
- smack-core/src/main/java/org/jivesoftware/smack/SmackConfiguration.java (version 0ee5acc49400f5083c516c93b1137a01eaad8140) (diffs)
- smack-core/src/main/java/org/jivesoftware/smack/altconnections/HttpLookupMethod.java (version 0ee5acc49400f5083c516c93b1137a01eaad8140) (diffs)
- smack-core/src/main/java/org/jivesoftware/smack/provider/AbstractProvider.java (version 0ee5acc49400f5083c516c93b1137a01eaad8140) (diffs)
- smack-experimental/src/main/java/org/jivesoftware/smackx/httpfileupload/provider/SlotProvider.java (version 0ee5acc49400f5083c516c93b1137a01eaad8140) (diffs)
- smack-extensions/src/main/java/org/jivesoftware/smackx/muc/RoomInfo.java (version 0ee5acc49400f5083c516c93b1137a01eaad8140) (diffs)
-
Florian Schmaus 8b9cd9875650e7150287169372fe3c30afedc37b
[build-logic] Remove some isJavaXCompatible blocks
Since Smack requires now Java 11, all conditional code for lower Java
versions can be dropped from the build logic. -
Florian Schmaus d3de2d65b93509ac374e573e6bb491c56a2870ef
[xdata] Avoid NPE if form field's name is not set
Do not throw an NPE if an form field without a name, i.e., the 'var'
attribute, is received.
Thanks to Peter Kaul for reporting this.- smack-extensions/src/main/java/org/jivesoftware/smackx/xdata/provider/DataFormProvider.java (version d3de2d65b93509ac374e573e6bb491c56a2870ef) (diffs)
- smack-extensions/src/test/java/org/jivesoftware/smackx/xdata/provider/DataFormProviderTest.java (version d3de2d65b93509ac374e573e6bb491c56a2870ef) (diffs)
-
Florian Schmaus 02d8f53246b326ccf5904a6314f9e9f0293e2a47
[core] Increase resilience against faulty parser implementions
If one of the parser throws a NullPointerException or
NumberFormatException, then this should not lead to a disconnect due
to an unhandled exception. Instead wrap those in an exception that is
handled by the parsing exception callback and ask the user to fill a
bug report for those faulty parsers.
We may adjust the list of exceptions that are wrapped in the future. -
Florian Schmaus 5dd08fc215f01695670d54f3027ae66396fe601e
[android-extensions] Set RECEIVER_NOT_EXPORTED in ServerPingWithAlarmManager
Set RECEIVER_NOT_EXPORTED when registering the receiver in
ServerPingWithAlarmManager, as otherwise this will throw an exception
if the application targets Android API level 34 or higher.
This requires raising the minimum Android API level to 26 for
registerReceiver() with flags.- .github/workflows/ci.yml (version 5dd08fc215f01695670d54f3027ae66396fe601e) (diffs)
- build-logic/src/main/groovy/org.igniterealtime.smack.android-conventions.gradle (version 5dd08fc215f01695670d54f3027ae66396fe601e) (diffs)
- build-logic/src/main/groovy/org.igniterealtime.smack.global-conventions.gradle (version 5dd08fc215f01695670d54f3027ae66396fe601e) (diffs)
- smack-android-extensions/src/main/java/org/jivesoftware/smackx/ping/android/ServerPingWithAlarmManager.java (version 5dd08fc215f01695670d54f3027ae66396fe601e) (diffs)
-
Florian Schmaus 072761a0adf965ba8d1ce3d0db44bb1aea838408
[xmlparser-xpp3] Switch to codelibs version of xpp3
This version has javax.xml.namespace.QName removed, avoiding the
duplicate declaration conflict with QName from Java 11.