netty做爲異步通訊底層框架,其優異的性能讓我產生了研究他的源碼的決定。java
代碼研究以前,第一步就是要準備環境,至少能夠編譯經過,下面,就拿github上的4.1分支進行。個人IDE是Intellij IDEA 2016 community版本, 操做系統是Windows 7。linux
一開始,就踩雷了,起初,個人源碼是在Github上,經過zip的方式獲取4.0分支的代碼,編譯的時候,老是報錯。各類line endings的錯誤,日誌以下:git
1 "C:\Program Files\Java\jdk1.7.0_45\bin\java" -Dmaven.multiModuleProjectDirectory=D:\Knowledge\SOURCE\netty\netty-4.0\common -Dmaven.home=E:\Software\apache-maven-3.3.9 -Dclassworlds.conf=E:\Software\apache-maven-3.3.9\bin\m2.conf -Didea.launcher.port=7533 "-Didea.launcher.bin.path=D:\SelfInstalled\intelliJ\IntelliJ IDEA Community Edition 2016.2.5\bin" -Dfile.encoding=UTF-8 -classpath "E:\Software\apache-maven-3.3.9\boot\plexus-classworlds-2.5.2.jar;D:\SelfInstalled\intelliJ\IntelliJ IDEA Community Edition 2016.2.5\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=2016.2.5 --update-snapshots -s D:\MyDocuments\chengsh05\.m2\settings.xml -Dmaven.repo.local=D:\MyDocuments\chengsh05\.m2\repository package -P coverage 2 [INFO] Scanning for projects... 3 [INFO] ------------------------------------------------------------------------ 4 [INFO] Detecting the operating system and CPU architecture 5 [INFO] ------------------------------------------------------------------------ 6 [INFO] os.detected.name: windows 7 [INFO] os.detected.arch: x86_64 8 [INFO] os.detected.version: 6.1 9 [INFO] os.detected.version.major: 6 10 [INFO] os.detected.version.minor: 1 11 [INFO] os.detected.classifier: windows-x86_64 12 [INFO] 13 [INFO] ------------------------------------------------------------------------ 14 [INFO] Building Netty/Common 4.0.43.Final-SNAPSHOT 15 [INFO] ------------------------------------------------------------------------ 16 [INFO] 17 [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ netty-common --- 18 [INFO] 19 [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-tools) @ netty-common --- 20 [INFO] 21 [INFO] --- maven-checkstyle-plugin:2.12.1:check (check-style) @ netty-common --- 22 [INFO] Starting audit... 23 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\AbstractReferenceCounted.java:0: File does not end with a newline. 24 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\AbstractReferenceCounted.java:0: invalid newline character (expected: CRLF) 25 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Attribute.java:0: File does not end with a newline. 26 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Attribute.java:0: invalid newline character (expected: CRLF) 27 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\AttributeKey.java:0: File does not end with a newline. 28 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\AttributeKey.java:0: invalid newline character (expected: CRLF) 29 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\AttributeMap.java:0: File does not end with a newline. 30 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\AttributeMap.java:0: invalid newline character (expected: CRLF) 31 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\CharsetUtil.java:0: File does not end with a newline. 32 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\CharsetUtil.java:0: invalid newline character (expected: CRLF) 33 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\collection\IntObjectHashMap.java:0: File does not end with a newline. 34 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\collection\IntObjectHashMap.java:0: invalid newline character (expected: CRLF) 35 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\collection\IntObjectMap.java:0: File does not end with a newline. 36 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\collection\IntObjectMap.java:0: invalid newline character (expected: CRLF) 37 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\collection\package-info.java:0: File does not end with a newline. 38 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\collection\package-info.java:0: invalid newline character (expected: CRLF) 39 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\AbstractEventExecutor.java:0: File does not end with a newline. 40 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\AbstractEventExecutor.java:0: invalid newline character (expected: CRLF) 41 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\AbstractEventExecutorGroup.java:0: File does not end with a newline. 42 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\AbstractEventExecutorGroup.java:0: invalid newline character (expected: CRLF) 43 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\AbstractFuture.java:0: File does not end with a newline. 44 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\AbstractFuture.java:0: invalid newline character (expected: CRLF) 45 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\AbstractScheduledEventExecutor.java:0: File does not end with a newline. 46 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\AbstractScheduledEventExecutor.java:0: invalid newline character (expected: CRLF) 47 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\BlockingOperationException.java:0: File does not end with a newline. 48 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\BlockingOperationException.java:0: invalid newline character (expected: CRLF) 49 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\CompleteFuture.java:0: File does not end with a newline. 50 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\CompleteFuture.java:0: invalid newline character (expected: CRLF) 51 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultEventExecutor.java:0: File does not end with a newline. 52 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultEventExecutor.java:0: invalid newline character (expected: CRLF) 53 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultEventExecutorGroup.java:0: File does not end with a newline. 54 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultEventExecutorGroup.java:0: invalid newline character (expected: CRLF) 55 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultFutureListeners.java:0: File does not end with a newline. 56 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultFutureListeners.java:0: invalid newline character (expected: CRLF) 57 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultProgressivePromise.java:0: File does not end with a newline. 58 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultProgressivePromise.java:0: invalid newline character (expected: CRLF) 59 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultPromise.java:0: File does not end with a newline. 60 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultPromise.java:0: invalid newline character (expected: CRLF) 61 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultThreadFactory.java:0: File does not end with a newline. 62 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\DefaultThreadFactory.java:0: invalid newline character (expected: CRLF) 63 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\EventExecutor.java:0: File does not end with a newline. 64 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\EventExecutor.java:0: invalid newline character (expected: CRLF) 65 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\EventExecutorGroup.java:0: File does not end with a newline. 66 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\EventExecutorGroup.java:0: invalid newline character (expected: CRLF) 67 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\FailedFuture.java:0: File does not end with a newline. 68 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\FailedFuture.java:0: invalid newline character (expected: CRLF) 69 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\FastThreadLocal.java:0: File does not end with a newline. 70 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\FastThreadLocal.java:0: invalid newline character (expected: CRLF) 71 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\FastThreadLocalThread.java:0: File does not end with a newline. 72 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\FastThreadLocalThread.java:0: invalid newline character (expected: CRLF) 73 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\Future.java:0: File does not end with a newline. 74 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\Future.java:0: invalid newline character (expected: CRLF) 75 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\FutureListener.java:0: File does not end with a newline. 76 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\FutureListener.java:0: invalid newline character (expected: CRLF) 77 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\GenericFutureListener.java:0: File does not end with a newline. 78 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\GenericFutureListener.java:0: invalid newline character (expected: CRLF) 79 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\GenericProgressiveFutureListener.java:0: File does not end with a newline. 80 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\GenericProgressiveFutureListener.java:0: invalid newline character (expected: CRLF) 81 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\GlobalEventExecutor.java:0: File does not end with a newline. 82 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\GlobalEventExecutor.java:0: invalid newline character (expected: CRLF) 83 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ImmediateEventExecutor.java:0: File does not end with a newline. 84 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ImmediateEventExecutor.java:0: invalid newline character (expected: CRLF) 85 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ImmediateExecutor.java:0: File does not end with a newline. 86 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ImmediateExecutor.java:0: invalid newline character (expected: CRLF) 87 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\MultithreadEventExecutorGroup.java:0: File does not end with a newline. 88 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\MultithreadEventExecutorGroup.java:0: invalid newline character (expected: CRLF) 89 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\OrderedEventExecutor.java:0: File does not end with a newline. 90 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\OrderedEventExecutor.java:0: invalid newline character (expected: CRLF) 91 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\package-info.java:0: File does not end with a newline. 92 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\package-info.java:0: invalid newline character (expected: CRLF) 93 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ProgressiveFuture.java:0: File does not end with a newline. 94 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ProgressiveFuture.java:0: invalid newline character (expected: CRLF) 95 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ProgressivePromise.java:0: File does not end with a newline. 96 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ProgressivePromise.java:0: invalid newline character (expected: CRLF) 97 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\Promise.java:0: File does not end with a newline. 98 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\Promise.java:0: invalid newline character (expected: CRLF) 99 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\PromiseAggregator.java:0: File does not end with a newline. 100 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\PromiseAggregator.java:0: invalid newline character (expected: CRLF) 101 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\PromiseCombiner.java:0: File does not end with a newline. 102 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\PromiseCombiner.java:0: invalid newline character (expected: CRLF) 103 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\PromiseNotifier.java:0: File does not end with a newline. 104 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\PromiseNotifier.java:0: invalid newline character (expected: CRLF) 105 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\PromiseTask.java:0: File does not end with a newline. 106 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\PromiseTask.java:0: invalid newline character (expected: CRLF) 107 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\RejectedExecutionHandler.java:0: File does not end with a newline. 108 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\RejectedExecutionHandler.java:0: invalid newline character (expected: CRLF) 109 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\RejectedExecutionHandlers.java:0: File does not end with a newline. 110 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\RejectedExecutionHandlers.java:0: invalid newline character (expected: CRLF) 111 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ScheduledFuture.java:0: File does not end with a newline. 112 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ScheduledFuture.java:0: invalid newline character (expected: CRLF) 113 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ScheduledFutureTask.java:0: File does not end with a newline. 114 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ScheduledFutureTask.java:0: invalid newline character (expected: CRLF) 115 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\SingleThreadEventExecutor.java:0: File does not end with a newline. 116 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\SingleThreadEventExecutor.java:0: invalid newline character (expected: CRLF) 117 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\SucceededFuture.java:0: File does not end with a newline. 118 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\SucceededFuture.java:0: invalid newline character (expected: CRLF) 119 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ThreadProperties.java:0: File does not end with a newline. 120 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\ThreadProperties.java:0: invalid newline character (expected: CRLF) 121 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\UnaryPromiseNotifier.java:0: File does not end with a newline. 122 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\UnaryPromiseNotifier.java:0: invalid newline character (expected: CRLF) 123 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\UnorderedThreadPoolEventExecutor.java:0: File does not end with a newline. 124 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\concurrent\UnorderedThreadPoolEventExecutor.java:0: invalid newline character (expected: CRLF) 125 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\DefaultAttributeMap.java:0: File does not end with a newline. 126 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\DefaultAttributeMap.java:0: invalid newline character (expected: CRLF) 127 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\DomainMappingBuilder.java:0: File does not end with a newline. 128 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\DomainMappingBuilder.java:0: invalid newline character (expected: CRLF) 129 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\DomainNameMapping.java:0: File does not end with a newline. 130 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\DomainNameMapping.java:0: invalid newline character (expected: CRLF) 131 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\DomainNameMappingBuilder.java:0: File does not end with a newline. 132 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\DomainNameMappingBuilder.java:0: invalid newline character (expected: CRLF) 133 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\HashedWheelTimer.java:0: File does not end with a newline. 134 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\HashedWheelTimer.java:0: invalid newline character (expected: CRLF) 135 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\IllegalReferenceCountException.java:0: File does not end with a newline. 136 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\IllegalReferenceCountException.java:0: invalid newline character (expected: CRLF) 137 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\AppendableCharSequence.java:0: File does not end with a newline. 138 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\AppendableCharSequence.java:0: invalid newline character (expected: CRLF) 139 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\Cleaner0.java:0: File does not end with a newline. 140 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\Cleaner0.java:0: invalid newline character (expected: CRLF) 141 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\ConcurrentSet.java:0: File does not end with a newline. 142 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\ConcurrentSet.java:0: invalid newline character (expected: CRLF) 143 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\EmptyArrays.java:0: File does not end with a newline. 144 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\EmptyArrays.java:0: invalid newline character (expected: CRLF) 145 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\IntegerHolder.java:0: File does not end with a newline. 146 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\IntegerHolder.java:0: invalid newline character (expected: CRLF) 147 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\InternalThreadLocalMap.java:0: File does not end with a newline. 148 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\InternalThreadLocalMap.java:0: invalid newline character (expected: CRLF) 149 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\JavassistTypeParameterMatcherGenerator.java:0: File does not end with a newline. 150 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\JavassistTypeParameterMatcherGenerator.java:0: invalid newline character (expected: CRLF) 151 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\AbstractInternalLogger.java:0: File does not end with a newline. 152 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\AbstractInternalLogger.java:0: invalid newline character (expected: CRLF) 153 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\CommonsLogger.java:0: File does not end with a newline. 154 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\CommonsLogger.java:0: invalid newline character (expected: CRLF) 155 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\CommonsLoggerFactory.java:0: File does not end with a newline. 156 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\CommonsLoggerFactory.java:0: invalid newline character (expected: CRLF) 157 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\FormattingTuple.java:0: File does not end with a newline. 158 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\FormattingTuple.java:0: invalid newline character (expected: CRLF) 159 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\InternalLogger.java:0: File does not end with a newline. 160 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\InternalLogger.java:0: invalid newline character (expected: CRLF) 161 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\InternalLoggerFactory.java:0: File does not end with a newline. 162 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\InternalLoggerFactory.java:0: invalid newline character (expected: CRLF) 163 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\InternalLogLevel.java:0: File does not end with a newline. 164 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\InternalLogLevel.java:0: invalid newline character (expected: CRLF) 165 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\JdkLogger.java:0: File does not end with a newline. 166 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\JdkLogger.java:0: invalid newline character (expected: CRLF) 167 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\JdkLoggerFactory.java:0: File does not end with a newline. 168 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\JdkLoggerFactory.java:0: invalid newline character (expected: CRLF) 169 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Log4J2Logger.java:0: File does not end with a newline. 170 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Log4J2Logger.java:0: invalid newline character (expected: CRLF) 171 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Log4J2LoggerFactory.java:0: File does not end with a newline. 172 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Log4J2LoggerFactory.java:0: invalid newline character (expected: CRLF) 173 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Log4JLogger.java:0: File does not end with a newline. 174 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Log4JLogger.java:0: invalid newline character (expected: CRLF) 175 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Log4JLoggerFactory.java:0: File does not end with a newline. 176 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Log4JLoggerFactory.java:0: invalid newline character (expected: CRLF) 177 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\MessageFormatter.java:0: File does not end with a newline. 178 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\MessageFormatter.java:0: invalid newline character (expected: CRLF) 179 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\package-info.java:0: File does not end with a newline. 180 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\package-info.java:0: invalid newline character (expected: CRLF) 181 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Slf4JLogger.java:0: File does not end with a newline. 182 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Slf4JLogger.java:0: invalid newline character (expected: CRLF) 183 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Slf4JLoggerFactory.java:0: File does not end with a newline. 184 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\logging\Slf4JLoggerFactory.java:0: invalid newline character (expected: CRLF) 185 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\LongCounter.java:0: File does not end with a newline. 186 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\LongCounter.java:0: invalid newline character (expected: CRLF) 187 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\MathUtil.java:0: File does not end with a newline. 188 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\MathUtil.java:0: invalid newline character (expected: CRLF) 189 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\NativeLibraryLoader.java:0: File does not end with a newline. 190 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\NativeLibraryLoader.java:0: invalid newline character (expected: CRLF) 191 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\NativeLibraryUtil.java:0: File does not end with a newline. 192 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\NativeLibraryUtil.java:0: invalid newline character (expected: CRLF) 193 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\NoOpTypeParameterMatcher.java:0: File does not end with a newline. 194 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\NoOpTypeParameterMatcher.java:0: invalid newline character (expected: CRLF) 195 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\ObjectUtil.java:0: File does not end with a newline. 196 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\ObjectUtil.java:0: invalid newline character (expected: CRLF) 197 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\OutOfDirectMemoryError.java:0: File does not end with a newline. 198 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\OutOfDirectMemoryError.java:0: invalid newline character (expected: CRLF) 199 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\package-info.java:0: File does not end with a newline. 200 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\package-info.java:0: invalid newline character (expected: CRLF) 201 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\PendingWrite.java:0: File does not end with a newline. 202 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\PendingWrite.java:0: invalid newline character (expected: CRLF) 203 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\PlatformDependent.java:0: File does not end with a newline. 204 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\PlatformDependent.java:0: invalid newline character (expected: CRLF) 205 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\PlatformDependent0.java:0: File does not end with a newline. 206 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\PlatformDependent0.java:0: invalid newline character (expected: CRLF) 207 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\PromiseNotificationUtil.java:0: File does not end with a newline. 208 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\PromiseNotificationUtil.java:0: invalid newline character (expected: CRLF) 209 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\ReadOnlyIterator.java:0: File does not end with a newline. 210 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\ReadOnlyIterator.java:0: invalid newline character (expected: CRLF) 211 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\RecyclableArrayList.java:0: File does not end with a newline. 212 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\RecyclableArrayList.java:0: invalid newline character (expected: CRLF) 213 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\StringUtil.java:0: File does not end with a newline. 214 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\StringUtil.java:0: invalid newline character (expected: CRLF) 215 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\SystemPropertyUtil.java:0: File does not end with a newline. 216 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\SystemPropertyUtil.java:0: invalid newline character (expected: CRLF) 217 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\ThreadLocalRandom.java:0: File does not end with a newline. 218 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\ThreadLocalRandom.java:0: invalid newline character (expected: CRLF) 219 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\ThrowableUtil.java:0: File does not end with a newline. 220 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\ThrowableUtil.java:0: invalid newline character (expected: CRLF) 221 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\TypeParameterMatcher.java:0: File does not end with a newline. 222 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\TypeParameterMatcher.java:0: invalid newline character (expected: CRLF) 223 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\UnpaddedInternalThreadLocalMap.java:0: File does not end with a newline. 224 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\UnpaddedInternalThreadLocalMap.java:0: invalid newline character (expected: CRLF) 225 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\UnsafeAtomicIntegerFieldUpdater.java:0: File does not end with a newline. 226 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\UnsafeAtomicIntegerFieldUpdater.java:0: invalid newline character (expected: CRLF) 227 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\UnsafeAtomicLongFieldUpdater.java:0: File does not end with a newline. 228 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\UnsafeAtomicLongFieldUpdater.java:0: invalid newline character (expected: CRLF) 229 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\UnsafeAtomicReferenceFieldUpdater.java:0: File does not end with a newline. 230 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\UnsafeAtomicReferenceFieldUpdater.java:0: invalid newline character (expected: CRLF) 231 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\UnstableApi.java:0: File does not end with a newline. 232 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\internal\UnstableApi.java:0: invalid newline character (expected: CRLF) 233 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\IntSupplier.java:0: File does not end with a newline. 234 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\IntSupplier.java:0: invalid newline character (expected: CRLF) 235 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Mapping.java:0: File does not end with a newline. 236 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Mapping.java:0: invalid newline character (expected: CRLF) 237 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\NetUtil.java:0: File does not end with a newline. 238 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\NetUtil.java:0: invalid newline character (expected: CRLF) 239 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\package-info.java:0: File does not end with a newline. 240 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\package-info.java:0: invalid newline character (expected: CRLF) 241 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Recycler.java:0: File does not end with a newline. 242 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Recycler.java:0: invalid newline character (expected: CRLF) 243 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ReferenceCounted.java:0: File does not end with a newline. 244 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ReferenceCounted.java:0: invalid newline character (expected: CRLF) 245 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ReferenceCountUtil.java:0: File does not end with a newline. 246 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ReferenceCountUtil.java:0: invalid newline character (expected: CRLF) 247 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeak.java:0: File does not end with a newline. 248 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeak.java:0: invalid newline character (expected: CRLF) 249 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeakDetector.java:0: File does not end with a newline. 250 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeakDetector.java:0: invalid newline character (expected: CRLF) 251 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeakDetectorFactory.java:0: File does not end with a newline. 252 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeakDetectorFactory.java:0: invalid newline character (expected: CRLF) 253 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeakException.java:0: File does not end with a newline. 254 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeakException.java:0: invalid newline character (expected: CRLF) 255 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeakHint.java:0: File does not end with a newline. 256 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeakHint.java:0: invalid newline character (expected: CRLF) 257 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeakTracker.java:0: File does not end with a newline. 258 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ResourceLeakTracker.java:0: invalid newline character (expected: CRLF) 259 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Signal.java:0: File does not end with a newline. 260 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Signal.java:0: invalid newline character (expected: CRLF) 261 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ThreadDeathWatcher.java:0: File does not end with a newline. 262 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\ThreadDeathWatcher.java:0: invalid newline character (expected: CRLF) 263 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Timeout.java:0: File does not end with a newline. 264 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Timeout.java:0: invalid newline character (expected: CRLF) 265 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Timer.java:0: File does not end with a newline. 266 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\Timer.java:0: invalid newline character (expected: CRLF) 267 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\TimerTask.java:0: File does not end with a newline. 268 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\TimerTask.java:0: invalid newline character (expected: CRLF) 269 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\UniqueName.java:0: File does not end with a newline. 270 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\main\java\io\netty\util\UniqueName.java:0: invalid newline character (expected: CRLF) 271 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\AbstractReferenceCountedTest.java:0: File does not end with a newline. 272 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\AbstractReferenceCountedTest.java:0: invalid newline character (expected: CRLF) 273 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\AttributeKeyTest.java:0: File does not end with a newline. 274 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\AttributeKeyTest.java:0: invalid newline character (expected: CRLF) 275 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\collection\IntObjectHashMapTest.java:0: File does not end with a newline. 276 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\collection\IntObjectHashMapTest.java:0: invalid newline character (expected: CRLF) 277 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\DefaultPromiseTest.java:0: File does not end with a newline. 278 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\DefaultPromiseTest.java:0: invalid newline character (expected: CRLF) 279 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\DefaultThreadFactoryTest.java:0: File does not end with a newline. 280 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\DefaultThreadFactoryTest.java:0: invalid newline character (expected: CRLF) 281 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\FastThreadLocalTest.java:0: File does not end with a newline. 282 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\FastThreadLocalTest.java:0: invalid newline character (expected: CRLF) 283 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\GlobalEventExecutorTest.java:0: File does not end with a newline. 284 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\GlobalEventExecutorTest.java:0: invalid newline character (expected: CRLF) 285 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\PromiseAggregatorTest.java:0: File does not end with a newline. 286 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\PromiseAggregatorTest.java:0: invalid newline character (expected: CRLF) 287 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\PromiseCombinerTest.java:0: File does not end with a newline. 288 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\PromiseCombinerTest.java:0: invalid newline character (expected: CRLF) 289 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\PromiseNotifierTest.java:0: File does not end with a newline. 290 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\PromiseNotifierTest.java:0: invalid newline character (expected: CRLF) 291 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\SingleThreadEventExecutorTest.java:0: File does not end with a newline. 292 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\concurrent\SingleThreadEventExecutorTest.java:0: invalid newline character (expected: CRLF) 293 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\DefaultAttributeMapTest.java:0: File does not end with a newline. 294 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\DefaultAttributeMapTest.java:0: invalid newline character (expected: CRLF) 295 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\DomainNameMappingTest.java:0: File does not end with a newline. 296 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\DomainNameMappingTest.java:0: invalid newline character (expected: CRLF) 297 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\HashedWheelTimerTest.java:0: File does not end with a newline. 298 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\HashedWheelTimerTest.java:0: invalid newline character (expected: CRLF) 299 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\AppendableCharSequenceTest.java:0: File does not end with a newline. 300 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\AppendableCharSequenceTest.java:0: invalid newline character (expected: CRLF) 301 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\CommonsLoggerFactoryTest.java:0: File does not end with a newline. 302 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\CommonsLoggerFactoryTest.java:0: invalid newline character (expected: CRLF) 303 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\CommonsLoggerTest.java:0: File does not end with a newline. 304 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\CommonsLoggerTest.java:0: invalid newline character (expected: CRLF) 305 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\InternalLoggerFactoryTest.java:0: File does not end with a newline. 306 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\InternalLoggerFactoryTest.java:0: invalid newline character (expected: CRLF) 307 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\JdkLoggerFactoryTest.java:0: File does not end with a newline. 308 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\JdkLoggerFactoryTest.java:0: invalid newline character (expected: CRLF) 309 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\Log4J2LoggerFactoryTest.java:0: File does not end with a newline. 310 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\Log4J2LoggerFactoryTest.java:0: invalid newline character (expected: CRLF) 311 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\Log4J2LoggerTest.java:0: File does not end with a newline. 312 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\Log4J2LoggerTest.java:0: invalid newline character (expected: CRLF) 313 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\Log4JLoggerFactoryTest.java:0: File does not end with a newline. 314 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\Log4JLoggerFactoryTest.java:0: invalid newline character (expected: CRLF) 315 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\Slf4JLoggerFactoryTest.java:0: File does not end with a newline. 316 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\Slf4JLoggerFactoryTest.java:0: invalid newline character (expected: CRLF) 317 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\Slf4JLoggerTest.java:0: File does not end with a newline. 318 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\logging\Slf4JLoggerTest.java:0: invalid newline character (expected: CRLF) 319 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\PlatformDependentTest.java:0: File does not end with a newline. 320 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\PlatformDependentTest.java:0: invalid newline character (expected: CRLF) 321 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\StringUtilTest.java:0: File does not end with a newline. 322 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\StringUtilTest.java:0: invalid newline character (expected: CRLF) 323 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\ThreadLocalRandomTest.java:0: File does not end with a newline. 324 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\ThreadLocalRandomTest.java:0: invalid newline character (expected: CRLF) 325 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\TypeParameterMatcherTest.java:0: File does not end with a newline. 326 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\internal\TypeParameterMatcherTest.java:0: invalid newline character (expected: CRLF) 327 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\NetUtilTest.java:0: File does not end with a newline. 328 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\NetUtilTest.java:0: invalid newline character (expected: CRLF) 329 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\RecyclerTest.java:0: File does not end with a newline. 330 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\RecyclerTest.java:0: invalid newline character (expected: CRLF) 331 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\ResourceLeakDetectorTest.java:0: File does not end with a newline. 332 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\ResourceLeakDetectorTest.java:0: invalid newline character (expected: CRLF) 333 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\ThreadDeathWatcherTest.java:0: File does not end with a newline. 334 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\ThreadDeathWatcherTest.java:0: invalid newline character (expected: CRLF) 335 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\UniqueNameTest.java:0: File does not end with a newline. 336 D:\Knowledge\SOURCE\netty\netty-4.0\common\src\test\java\io\netty\util\UniqueNameTest.java:0: invalid newline character (expected: CRLF) 337 Audit done. 338 339 [INFO] ------------------------------------------------------------------------ 340 [INFO] BUILD FAILURE 341 [INFO] ------------------------------------------------------------------------ 342 [INFO] Total time: 5.214 s 343 [INFO] Finished at: 2016-12-15T14:29:52+08:00 344 [INFO] Final Memory: 29M/617M 345 [INFO] ------------------------------------------------------------------------ 346 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.12.1:check (check-style) on project netty-common: Failed during checkstyle execution: There are 314 checkstyle errors. -> [Help 1] 347 [ERROR] 348 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 349 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 350 [ERROR] 351 [ERROR] For more information about the errors and possible solutions, please read the following articles: 352 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 353 354 Process finished with exit code 1
後來在各類搜索中找解決方案,百度中不少地方的帖子都說是maven的plugin配置的問題,後來我依着提示修改,然並卵。 最後在stackoverflow上找到一個帖子的建議連接,連接以下:https://help.github.com/articles/dealing-with-line-endings/#platform-windowsgithub
裏面說的很清楚:apache
When you view changes in a file, Git handles line endings in its own way. Since you're collaborating on projects with Git and GitHub, Git might produce unexpected results if, for example, you're working on a Windows machine, and your collaborator has made a change in OS X.windows
不一樣的人在不一樣系統上提交的代碼,對文件行的處理方式不同,好比換行,windows下是/r/n,可是linux下換行是/n。app
解決方案,我採用的是他的第一個解決方案:框架
Global settings for line endings
The
git config core.autocrlf
command is used to change how Git handles line endings. It takes a single argument.domOn Windows, you simply pass
true
to the configuration. For example:sshgit config --global core.autocrlf true # Configure Git on Windows to properly handle line endings
執行後,在window下,CMD裏面執行git clone取代碼4.1的代碼。習慣了linux下的操做,用git@github.com:netty/netty.git,結果出錯,由於我windows上沒有ssh的key。。。改用https的地址clone就能夠了,以下圖:
代碼獲取了,此時的代碼,應該不會再有line endings的錯誤了吧,繼續在IJ裏面編譯試試:
此次編譯,終於能夠了,沒有什麼問題。
此次git的這個問題,讓我還折騰了很多時間,由於Intellij報的錯誤的確是說checkStyle的問題,找plugin的問題,沒有想到是github上的代碼由於git處理core.autocrlf的策略問題,默認git中的配置,這個參數是false,改爲true後,git取源碼再編譯,就ok了。
上面的處理,是編譯其中一個模塊,netty-common,如今,咱們要編譯整個工程,就是netty的根工程,讓全部的模塊都編譯經過。
這裏,說說Intellij中如何用maven編譯代碼,如我上面的截圖中出現右邊的Maven projects這個框,若不是很熟悉Intellij的夥伴,好比總是用Eclipse的人,可能真不知道如何打開這個窗口。其實很簡單:
在菜單欄中: view->Tool windows->Maven Projects
另外,在這Maven Projects的操做面板上,有幾個小button,我喜歡在Install或者Package的時候,不要test這個lifecycle,點擊一下skip test便可。
是否是test上有一個刪除線了。。。。
下面看看整個工程的編譯安裝,即mvn install的操做。
一切都ok了,install的操做完美收官!
如果想在windows下經過Intellij IDEA對netty的源碼進行編譯的話,本帖子能夠給你提供一點借鑑,歡迎轉帖。轉帖請指明出處。