Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

some tests Failed in smack 4.0.0-rc2-snapshot while building

$
0
0

The below tests failed.

org.jivesoftware.smack.util.PacketParserUtilsTest

  singleMessageBodyTest

  singleMessageSubjectTest

  multipleMessageBodiesTest

  multipleMessageSubjectsTest

 

https://github.com/Flowdalic/Smack/blob/master/smack-core/src/test/java/org/jive software/smack/util/PacketParserUtilsTest.java#L792

I tried to debug with it and found that for an unknown reason, the first one in Locale.getAvailableLocales() is an Locale with no language code(empty string), which failed the test.(Also for old versions)

Tested in oracle JDK8_u5 x64 + windows.

http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html#forLanguageTag(ja va.lang.String)
The language code "und" is mapped to language "".

May relat to this.

 

I'm sorry for my poor English

=======

By The Way:

building for javadoc also failed with some HTML Tag (see  err.log), how could I make it work?


Viewing all articles
Browse latest Browse all 10742

Trending Articles