Known bug (Working as intended): problem with class libcore.java.security.KeySto
我在单独编译 mmm frameworks/base/services/java,想得到新的services.jar时候,出现下面错误,这里截取了部分错误:
ignoring expectation known failure: class libcore.java.sql.OldPreparedStatementTest#testSetTimestamp_int_Timestamp
ignoring expectation known failure: class libcore.java.sql.OldPreparedStatementTest#testSetTimestampIntTimestampCalendar
ignoring broken test: class libcore.java.security.OldKeyPairGeneratorTestDH#testKeyPairGenerator
ignoring broken test: class libcore.java.security.OldDHTest#testDHGen
Known bug (Working as intended): problem with class libcore.java.security.KeyStoreTest
java.lang.SecurityException: Prohibited package name: java.lang
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:479)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2398)
at java.lang.Class.getConstructor0(Class.java:2708)
at java.lang.Class.getConstructor(Class.java:1659)
at CollectAllTests.main(CollectAllTests.java:216)
Known bug (Working as intended): problem with class libcore.java.security.KeyStoreTest
java.lang.SecurityException: Prohibited package name: java.lang
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:479)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2398)
at java.lang.Class.getConstructor0(Class.java:2708)
at java.lang.Class.getConstructor(Class.java:1659)
at CollectAllTests.main(CollectAllTests.java:226)
ignoring broken test: class libcore.java.security.cert.OldPKIXParametersTest#testPKIXParametersKeyStore04
ignoring expectation known failure: class libcore.java.security.KeyPairGeneratorTest#test_getInstance
ignoring expectation known failure: class libcore.java.text.OldDecimalFormatTest#test_formatToCharacterIterator
ignoring expectation known failure: class libcore.java.text.OldDecimalFormatTest#test_formatDLjava_lang_StringBufferLjava_text_FieldPosition
ignoring expectation known failure: class libcore.java.text.OldDecimalFormatTest#test_parseLjava_lang_StringLjava_text_ParsePosition
ignoring expectation known failure: class libcore.java.text.OldSimpleDateFormatTest#testFormattingWeekOfYear
ignoring expectation known failure: class libcore.java.text.OldSimpleDateFormatTest#testFormattingTimezones
ignoring expectation known failure: class libcore.java.text.DecimalFormatSymbolsTest#test_getInstance_unknown_or_invalid_locale
ignoring expectation known failure: class libcore.java.text.OldDecimalFormatSymbolsTest#test_RIHarmony_compatible
ignoring expectation known failure: class libcore.java.text.DateFormatSymbolsTest#test_getInstance_unknown_locale
ignoring expectation known failure: class libcore.java.text.DecimalFormatTest#test_setMaximumIntegerDigits
ignoring expectation known failure: class libcore.java.text.SimpleDateFormatTest#testDstZoneWithNonDstTimestampForNonHourDstZone
ignoring broken test: class libcore.java.text.OldNumberFormatTest#test_parseLjava_lang_String
ignoring broken test: class libcore.java.nio.channels.OldSocketChannelTest#test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_GB2312#test_Decode
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_GB2312#test_Encode
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_GB2312#test_nameMatch
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_Big5#test_Decode
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_Big5#test_Encode
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_x_windows_950#test_Encode
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_x_windows_950#test_nameMatch
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_GBK#test_Decode
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_GBK#test_Encode
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_ISO_2022_JP#test_Decode
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_ISO_2022_JP#test_Encode
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_UTF_16#test_Encode
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_EUC_JP#test_CodecDynamic
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_EUC_JP#test_Decode
ignoring expectation known failure: class libcore.java.nio.charset.OldCharset_MultiByte_EUC_JP#test_Encode
ignoring expectation known failure: class libcore.java.nio.charset.CharsetTest#test_UTF_16
ignoring expectation known failure: class libcore.java.nio.charset.CharsetTest#test_UTF_16BE
ignoring expectation known failure: class libcore.java.nio.charset.CharsetTest#test_UTF_16LE
ignoring expectation known failure: class libcore.java.nio.charset.CharsetTest#test_x_UTF_16LE_BOM
ignoring expectation known failure: class libcore.java.nio.charset.CharsetTest#test_UTF_32
ignoring expectation known failure: class libcore.java.nio.charset.CharsetTest#test_UTF_32BE
ignoring expectation known failure: class libcore.java.nio.charset.CharsetTest#test_UTF_32LE
ignoring expectation known failure: class libcore.java.nio.charset.CharsetTest#test_X_UTF_32BE_BOM
ignoring expectation known failure: class libcore.java.nio.charset.CharsetTest#test_X_UTF_32LE_BOM
ignoring expectation known failure: class libcore.java.nio.charset.CharsetTest#test_preNioAliases
ignoring expectation known failure: class libcore.java.nio.charset.CharsetEncoderTest#test_defaultReplacementBytesUtf_16
ignoring expectation known failure: class libcore.java.nio.charset.CharsetEncoderTest#testCharsetEncoderSurrogatesBrokenByDesign_IGNORE_RI
ignoring expectation known failure: class libcore.java.nio.charset.CharsetEncoderTest#testCharsetEncoderSurrogatesBrokenByDesign_REPORT_RI
ignoring expectation known failure: class libcore.java.nio.charset.CharsetEncoderTest#testCharsetEncoderSurrogatesBrokenByDesign_REPLACE_RI
ignoring expectation known failure: class libcore.java.net.ConcurrentCloseTest#test_connect
ignoring expectation known failure: class libcore.java.net.ConcurrentCloseTest#test_connect_nonBlocking
ignoring test with side effects: class libcore.java.net.OldURLClassLoaderTest#test_findResourceLjava_lang_String
ignoring test with side effects: class libcore.java.net.OldURLClassLoaderTest#test_findResource_String
ignoring expectation known failure: class libcore.java.net.URLConnectionTest#testServerClosesSocket
ignoring expectation known failure: class libcore.java.net.URLConnectionTest#testServerShutdownInput
ignoring expectation known failure: class libcore.java.net.URLConnectionTest#testServerShutdownOutput
ignoring expectation known failure: class libcore.java.net.URLConnectionTest#testConnectViaHttpsReusingConnectionsDifferentFactories
ignoring expectation known failure: class libcore.java.net.URLConnectionTest#testConnectTimeouts