• netty研究【1】:编译源代码


    netty作为异步通信底层框架,其优异的性能让我产生了研究他的源码的决定。

    代码研究之前,第一步就是要准备环境,至少可以编译通过,下面,就拿github上的4.1分支进行。我的IDE是Intellij IDEA 2016 community版本, 操作系统是Windows 7。

    一开始,就踩雷了,起初,我的源码是在Github上,通过zip的方式获取4.0分支的代码,编译的时候,总是报错。各种line endings的错误,日志如下:

      1 "C:Program FilesJavajdk1.7.0_45injava" -Dmaven.multiModuleProjectDirectory=D:KnowledgeSOURCE
    etty
    etty-4.0common -Dmaven.home=E:Softwareapache-maven-3.3.9 -Dclassworlds.conf=E:Softwareapache-maven-3.3.9inm2.conf -Didea.launcher.port=7533 "-Didea.launcher.bin.path=D:SelfInstalledintelliJIntelliJ IDEA Community Edition 2016.2.5in" -Dfile.encoding=UTF-8 -classpath "E:Softwareapache-maven-3.3.9ootplexus-classworlds-2.5.2.jar;D:SelfInstalledintelliJIntelliJ IDEA Community Edition 2016.2.5libidea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=2016.2.5 --update-snapshots -s D:MyDocumentschengsh05.m2settings.xml -Dmaven.repo.local=D:MyDocumentschengsh05.m2
    epository 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:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilAbstractReferenceCounted.java:0: File does not end with a newline.
     24 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilAbstractReferenceCounted.java:0: invalid newline character (expected: CRLF)
     25 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilAttribute.java:0: File does not end with a newline.
     26 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilAttribute.java:0: invalid newline character (expected: CRLF)
     27 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilAttributeKey.java:0: File does not end with a newline.
     28 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilAttributeKey.java:0: invalid newline character (expected: CRLF)
     29 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilAttributeMap.java:0: File does not end with a newline.
     30 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilAttributeMap.java:0: invalid newline character (expected: CRLF)
     31 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilCharsetUtil.java:0: File does not end with a newline.
     32 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilCharsetUtil.java:0: invalid newline character (expected: CRLF)
     33 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilcollectionIntObjectHashMap.java:0: File does not end with a newline.
     34 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilcollectionIntObjectHashMap.java:0: invalid newline character (expected: CRLF)
     35 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilcollectionIntObjectMap.java:0: File does not end with a newline.
     36 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilcollectionIntObjectMap.java:0: invalid newline character (expected: CRLF)
     37 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilcollectionpackage-info.java:0: File does not end with a newline.
     38 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilcollectionpackage-info.java:0: invalid newline character (expected: CRLF)
     39 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentAbstractEventExecutor.java:0: File does not end with a newline.
     40 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentAbstractEventExecutor.java:0: invalid newline character (expected: CRLF)
     41 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentAbstractEventExecutorGroup.java:0: File does not end with a newline.
     42 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentAbstractEventExecutorGroup.java:0: invalid newline character (expected: CRLF)
     43 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentAbstractFuture.java:0: File does not end with a newline.
     44 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentAbstractFuture.java:0: invalid newline character (expected: CRLF)
     45 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentAbstractScheduledEventExecutor.java:0: File does not end with a newline.
     46 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentAbstractScheduledEventExecutor.java:0: invalid newline character (expected: CRLF)
     47 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentBlockingOperationException.java:0: File does not end with a newline.
     48 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentBlockingOperationException.java:0: invalid newline character (expected: CRLF)
     49 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentCompleteFuture.java:0: File does not end with a newline.
     50 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentCompleteFuture.java:0: invalid newline character (expected: CRLF)
     51 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultEventExecutor.java:0: File does not end with a newline.
     52 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultEventExecutor.java:0: invalid newline character (expected: CRLF)
     53 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultEventExecutorGroup.java:0: File does not end with a newline.
     54 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultEventExecutorGroup.java:0: invalid newline character (expected: CRLF)
     55 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultFutureListeners.java:0: File does not end with a newline.
     56 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultFutureListeners.java:0: invalid newline character (expected: CRLF)
     57 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultProgressivePromise.java:0: File does not end with a newline.
     58 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultProgressivePromise.java:0: invalid newline character (expected: CRLF)
     59 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultPromise.java:0: File does not end with a newline.
     60 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultPromise.java:0: invalid newline character (expected: CRLF)
     61 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultThreadFactory.java:0: File does not end with a newline.
     62 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentDefaultThreadFactory.java:0: invalid newline character (expected: CRLF)
     63 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentEventExecutor.java:0: File does not end with a newline.
     64 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentEventExecutor.java:0: invalid newline character (expected: CRLF)
     65 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentEventExecutorGroup.java:0: File does not end with a newline.
     66 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentEventExecutorGroup.java:0: invalid newline character (expected: CRLF)
     67 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentFailedFuture.java:0: File does not end with a newline.
     68 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentFailedFuture.java:0: invalid newline character (expected: CRLF)
     69 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentFastThreadLocal.java:0: File does not end with a newline.
     70 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentFastThreadLocal.java:0: invalid newline character (expected: CRLF)
     71 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentFastThreadLocalThread.java:0: File does not end with a newline.
     72 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentFastThreadLocalThread.java:0: invalid newline character (expected: CRLF)
     73 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentFuture.java:0: File does not end with a newline.
     74 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentFuture.java:0: invalid newline character (expected: CRLF)
     75 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentFutureListener.java:0: File does not end with a newline.
     76 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentFutureListener.java:0: invalid newline character (expected: CRLF)
     77 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentGenericFutureListener.java:0: File does not end with a newline.
     78 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentGenericFutureListener.java:0: invalid newline character (expected: CRLF)
     79 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentGenericProgressiveFutureListener.java:0: File does not end with a newline.
     80 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentGenericProgressiveFutureListener.java:0: invalid newline character (expected: CRLF)
     81 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentGlobalEventExecutor.java:0: File does not end with a newline.
     82 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentGlobalEventExecutor.java:0: invalid newline character (expected: CRLF)
     83 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentImmediateEventExecutor.java:0: File does not end with a newline.
     84 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentImmediateEventExecutor.java:0: invalid newline character (expected: CRLF)
     85 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentImmediateExecutor.java:0: File does not end with a newline.
     86 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentImmediateExecutor.java:0: invalid newline character (expected: CRLF)
     87 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentMultithreadEventExecutorGroup.java:0: File does not end with a newline.
     88 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentMultithreadEventExecutorGroup.java:0: invalid newline character (expected: CRLF)
     89 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentOrderedEventExecutor.java:0: File does not end with a newline.
     90 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentOrderedEventExecutor.java:0: invalid newline character (expected: CRLF)
     91 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentpackage-info.java:0: File does not end with a newline.
     92 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentpackage-info.java:0: invalid newline character (expected: CRLF)
     93 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentProgressiveFuture.java:0: File does not end with a newline.
     94 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentProgressiveFuture.java:0: invalid newline character (expected: CRLF)
     95 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentProgressivePromise.java:0: File does not end with a newline.
     96 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentProgressivePromise.java:0: invalid newline character (expected: CRLF)
     97 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentPromise.java:0: File does not end with a newline.
     98 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentPromise.java:0: invalid newline character (expected: CRLF)
     99 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentPromiseAggregator.java:0: File does not end with a newline.
    100 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentPromiseAggregator.java:0: invalid newline character (expected: CRLF)
    101 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentPromiseCombiner.java:0: File does not end with a newline.
    102 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentPromiseCombiner.java:0: invalid newline character (expected: CRLF)
    103 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentPromiseNotifier.java:0: File does not end with a newline.
    104 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentPromiseNotifier.java:0: invalid newline character (expected: CRLF)
    105 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentPromiseTask.java:0: File does not end with a newline.
    106 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentPromiseTask.java:0: invalid newline character (expected: CRLF)
    107 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentRejectedExecutionHandler.java:0: File does not end with a newline.
    108 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentRejectedExecutionHandler.java:0: invalid newline character (expected: CRLF)
    109 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentRejectedExecutionHandlers.java:0: File does not end with a newline.
    110 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentRejectedExecutionHandlers.java:0: invalid newline character (expected: CRLF)
    111 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentScheduledFuture.java:0: File does not end with a newline.
    112 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentScheduledFuture.java:0: invalid newline character (expected: CRLF)
    113 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentScheduledFutureTask.java:0: File does not end with a newline.
    114 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentScheduledFutureTask.java:0: invalid newline character (expected: CRLF)
    115 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentSingleThreadEventExecutor.java:0: File does not end with a newline.
    116 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentSingleThreadEventExecutor.java:0: invalid newline character (expected: CRLF)
    117 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentSucceededFuture.java:0: File does not end with a newline.
    118 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentSucceededFuture.java:0: invalid newline character (expected: CRLF)
    119 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentThreadProperties.java:0: File does not end with a newline.
    120 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentThreadProperties.java:0: invalid newline character (expected: CRLF)
    121 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentUnaryPromiseNotifier.java:0: File does not end with a newline.
    122 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentUnaryPromiseNotifier.java:0: invalid newline character (expected: CRLF)
    123 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentUnorderedThreadPoolEventExecutor.java:0: File does not end with a newline.
    124 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilconcurrentUnorderedThreadPoolEventExecutor.java:0: invalid newline character (expected: CRLF)
    125 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilDefaultAttributeMap.java:0: File does not end with a newline.
    126 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilDefaultAttributeMap.java:0: invalid newline character (expected: CRLF)
    127 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilDomainMappingBuilder.java:0: File does not end with a newline.
    128 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilDomainMappingBuilder.java:0: invalid newline character (expected: CRLF)
    129 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilDomainNameMapping.java:0: File does not end with a newline.
    130 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilDomainNameMapping.java:0: invalid newline character (expected: CRLF)
    131 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilDomainNameMappingBuilder.java:0: File does not end with a newline.
    132 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilDomainNameMappingBuilder.java:0: invalid newline character (expected: CRLF)
    133 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilHashedWheelTimer.java:0: File does not end with a newline.
    134 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilHashedWheelTimer.java:0: invalid newline character (expected: CRLF)
    135 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilIllegalReferenceCountException.java:0: File does not end with a newline.
    136 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilIllegalReferenceCountException.java:0: invalid newline character (expected: CRLF)
    137 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalAppendableCharSequence.java:0: File does not end with a newline.
    138 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalAppendableCharSequence.java:0: invalid newline character (expected: CRLF)
    139 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalCleaner0.java:0: File does not end with a newline.
    140 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalCleaner0.java:0: invalid newline character (expected: CRLF)
    141 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalConcurrentSet.java:0: File does not end with a newline.
    142 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalConcurrentSet.java:0: invalid newline character (expected: CRLF)
    143 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalEmptyArrays.java:0: File does not end with a newline.
    144 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalEmptyArrays.java:0: invalid newline character (expected: CRLF)
    145 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalIntegerHolder.java:0: File does not end with a newline.
    146 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalIntegerHolder.java:0: invalid newline character (expected: CRLF)
    147 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalInternalThreadLocalMap.java:0: File does not end with a newline.
    148 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalInternalThreadLocalMap.java:0: invalid newline character (expected: CRLF)
    149 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalJavassistTypeParameterMatcherGenerator.java:0: File does not end with a newline.
    150 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalJavassistTypeParameterMatcherGenerator.java:0: invalid newline character (expected: CRLF)
    151 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingAbstractInternalLogger.java:0: File does not end with a newline.
    152 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingAbstractInternalLogger.java:0: invalid newline character (expected: CRLF)
    153 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingCommonsLogger.java:0: File does not end with a newline.
    154 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingCommonsLogger.java:0: invalid newline character (expected: CRLF)
    155 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingCommonsLoggerFactory.java:0: File does not end with a newline.
    156 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingCommonsLoggerFactory.java:0: invalid newline character (expected: CRLF)
    157 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingFormattingTuple.java:0: File does not end with a newline.
    158 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingFormattingTuple.java:0: invalid newline character (expected: CRLF)
    159 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingInternalLogger.java:0: File does not end with a newline.
    160 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingInternalLogger.java:0: invalid newline character (expected: CRLF)
    161 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingInternalLoggerFactory.java:0: File does not end with a newline.
    162 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingInternalLoggerFactory.java:0: invalid newline character (expected: CRLF)
    163 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingInternalLogLevel.java:0: File does not end with a newline.
    164 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingInternalLogLevel.java:0: invalid newline character (expected: CRLF)
    165 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingJdkLogger.java:0: File does not end with a newline.
    166 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingJdkLogger.java:0: invalid newline character (expected: CRLF)
    167 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingJdkLoggerFactory.java:0: File does not end with a newline.
    168 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingJdkLoggerFactory.java:0: invalid newline character (expected: CRLF)
    169 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingLog4J2Logger.java:0: File does not end with a newline.
    170 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingLog4J2Logger.java:0: invalid newline character (expected: CRLF)
    171 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingLog4J2LoggerFactory.java:0: File does not end with a newline.
    172 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingLog4J2LoggerFactory.java:0: invalid newline character (expected: CRLF)
    173 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingLog4JLogger.java:0: File does not end with a newline.
    174 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingLog4JLogger.java:0: invalid newline character (expected: CRLF)
    175 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingLog4JLoggerFactory.java:0: File does not end with a newline.
    176 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingLog4JLoggerFactory.java:0: invalid newline character (expected: CRLF)
    177 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingMessageFormatter.java:0: File does not end with a newline.
    178 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingMessageFormatter.java:0: invalid newline character (expected: CRLF)
    179 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingpackage-info.java:0: File does not end with a newline.
    180 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingpackage-info.java:0: invalid newline character (expected: CRLF)
    181 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingSlf4JLogger.java:0: File does not end with a newline.
    182 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingSlf4JLogger.java:0: invalid newline character (expected: CRLF)
    183 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingSlf4JLoggerFactory.java:0: File does not end with a newline.
    184 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalloggingSlf4JLoggerFactory.java:0: invalid newline character (expected: CRLF)
    185 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalLongCounter.java:0: File does not end with a newline.
    186 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalLongCounter.java:0: invalid newline character (expected: CRLF)
    187 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalMathUtil.java:0: File does not end with a newline.
    188 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalMathUtil.java:0: invalid newline character (expected: CRLF)
    189 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalNativeLibraryLoader.java:0: File does not end with a newline.
    190 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalNativeLibraryLoader.java:0: invalid newline character (expected: CRLF)
    191 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalNativeLibraryUtil.java:0: File does not end with a newline.
    192 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalNativeLibraryUtil.java:0: invalid newline character (expected: CRLF)
    193 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalNoOpTypeParameterMatcher.java:0: File does not end with a newline.
    194 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalNoOpTypeParameterMatcher.java:0: invalid newline character (expected: CRLF)
    195 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalObjectUtil.java:0: File does not end with a newline.
    196 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalObjectUtil.java:0: invalid newline character (expected: CRLF)
    197 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalOutOfDirectMemoryError.java:0: File does not end with a newline.
    198 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalOutOfDirectMemoryError.java:0: invalid newline character (expected: CRLF)
    199 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalpackage-info.java:0: File does not end with a newline.
    200 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalpackage-info.java:0: invalid newline character (expected: CRLF)
    201 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalPendingWrite.java:0: File does not end with a newline.
    202 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalPendingWrite.java:0: invalid newline character (expected: CRLF)
    203 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalPlatformDependent.java:0: File does not end with a newline.
    204 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalPlatformDependent.java:0: invalid newline character (expected: CRLF)
    205 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalPlatformDependent0.java:0: File does not end with a newline.
    206 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalPlatformDependent0.java:0: invalid newline character (expected: CRLF)
    207 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalPromiseNotificationUtil.java:0: File does not end with a newline.
    208 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalPromiseNotificationUtil.java:0: invalid newline character (expected: CRLF)
    209 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalReadOnlyIterator.java:0: File does not end with a newline.
    210 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalReadOnlyIterator.java:0: invalid newline character (expected: CRLF)
    211 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalRecyclableArrayList.java:0: File does not end with a newline.
    212 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalRecyclableArrayList.java:0: invalid newline character (expected: CRLF)
    213 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalStringUtil.java:0: File does not end with a newline.
    214 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalStringUtil.java:0: invalid newline character (expected: CRLF)
    215 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalSystemPropertyUtil.java:0: File does not end with a newline.
    216 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalSystemPropertyUtil.java:0: invalid newline character (expected: CRLF)
    217 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalThreadLocalRandom.java:0: File does not end with a newline.
    218 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalThreadLocalRandom.java:0: invalid newline character (expected: CRLF)
    219 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalThrowableUtil.java:0: File does not end with a newline.
    220 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalThrowableUtil.java:0: invalid newline character (expected: CRLF)
    221 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalTypeParameterMatcher.java:0: File does not end with a newline.
    222 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalTypeParameterMatcher.java:0: invalid newline character (expected: CRLF)
    223 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalUnpaddedInternalThreadLocalMap.java:0: File does not end with a newline.
    224 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalUnpaddedInternalThreadLocalMap.java:0: invalid newline character (expected: CRLF)
    225 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalUnsafeAtomicIntegerFieldUpdater.java:0: File does not end with a newline.
    226 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalUnsafeAtomicIntegerFieldUpdater.java:0: invalid newline character (expected: CRLF)
    227 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalUnsafeAtomicLongFieldUpdater.java:0: File does not end with a newline.
    228 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalUnsafeAtomicLongFieldUpdater.java:0: invalid newline character (expected: CRLF)
    229 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalUnsafeAtomicReferenceFieldUpdater.java:0: File does not end with a newline.
    230 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalUnsafeAtomicReferenceFieldUpdater.java:0: invalid newline character (expected: CRLF)
    231 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalUnstableApi.java:0: File does not end with a newline.
    232 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilinternalUnstableApi.java:0: invalid newline character (expected: CRLF)
    233 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilIntSupplier.java:0: File does not end with a newline.
    234 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilIntSupplier.java:0: invalid newline character (expected: CRLF)
    235 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilMapping.java:0: File does not end with a newline.
    236 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilMapping.java:0: invalid newline character (expected: CRLF)
    237 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilNetUtil.java:0: File does not end with a newline.
    238 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilNetUtil.java:0: invalid newline character (expected: CRLF)
    239 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilpackage-info.java:0: File does not end with a newline.
    240 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilpackage-info.java:0: invalid newline character (expected: CRLF)
    241 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilRecycler.java:0: File does not end with a newline.
    242 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilRecycler.java:0: invalid newline character (expected: CRLF)
    243 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilReferenceCounted.java:0: File does not end with a newline.
    244 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilReferenceCounted.java:0: invalid newline character (expected: CRLF)
    245 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilReferenceCountUtil.java:0: File does not end with a newline.
    246 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilReferenceCountUtil.java:0: invalid newline character (expected: CRLF)
    247 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeak.java:0: File does not end with a newline.
    248 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeak.java:0: invalid newline character (expected: CRLF)
    249 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeakDetector.java:0: File does not end with a newline.
    250 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeakDetector.java:0: invalid newline character (expected: CRLF)
    251 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeakDetectorFactory.java:0: File does not end with a newline.
    252 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeakDetectorFactory.java:0: invalid newline character (expected: CRLF)
    253 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeakException.java:0: File does not end with a newline.
    254 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeakException.java:0: invalid newline character (expected: CRLF)
    255 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeakHint.java:0: File does not end with a newline.
    256 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeakHint.java:0: invalid newline character (expected: CRLF)
    257 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeakTracker.java:0: File does not end with a newline.
    258 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilResourceLeakTracker.java:0: invalid newline character (expected: CRLF)
    259 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilSignal.java:0: File does not end with a newline.
    260 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilSignal.java:0: invalid newline character (expected: CRLF)
    261 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilThreadDeathWatcher.java:0: File does not end with a newline.
    262 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilThreadDeathWatcher.java:0: invalid newline character (expected: CRLF)
    263 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilTimeout.java:0: File does not end with a newline.
    264 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilTimeout.java:0: invalid newline character (expected: CRLF)
    265 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilTimer.java:0: File does not end with a newline.
    266 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilTimer.java:0: invalid newline character (expected: CRLF)
    267 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilTimerTask.java:0: File does not end with a newline.
    268 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilTimerTask.java:0: invalid newline character (expected: CRLF)
    269 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilUniqueName.java:0: File does not end with a newline.
    270 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrcmainjavaio
    ettyutilUniqueName.java:0: invalid newline character (expected: CRLF)
    271 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilAbstractReferenceCountedTest.java:0: File does not end with a newline.
    272 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilAbstractReferenceCountedTest.java:0: invalid newline character (expected: CRLF)
    273 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilAttributeKeyTest.java:0: File does not end with a newline.
    274 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilAttributeKeyTest.java:0: invalid newline character (expected: CRLF)
    275 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilcollectionIntObjectHashMapTest.java:0: File does not end with a newline.
    276 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilcollectionIntObjectHashMapTest.java:0: invalid newline character (expected: CRLF)
    277 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentDefaultPromiseTest.java:0: File does not end with a newline.
    278 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentDefaultPromiseTest.java:0: invalid newline character (expected: CRLF)
    279 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentDefaultThreadFactoryTest.java:0: File does not end with a newline.
    280 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentDefaultThreadFactoryTest.java:0: invalid newline character (expected: CRLF)
    281 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentFastThreadLocalTest.java:0: File does not end with a newline.
    282 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentFastThreadLocalTest.java:0: invalid newline character (expected: CRLF)
    283 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentGlobalEventExecutorTest.java:0: File does not end with a newline.
    284 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentGlobalEventExecutorTest.java:0: invalid newline character (expected: CRLF)
    285 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentPromiseAggregatorTest.java:0: File does not end with a newline.
    286 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentPromiseAggregatorTest.java:0: invalid newline character (expected: CRLF)
    287 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentPromiseCombinerTest.java:0: File does not end with a newline.
    288 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentPromiseCombinerTest.java:0: invalid newline character (expected: CRLF)
    289 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentPromiseNotifierTest.java:0: File does not end with a newline.
    290 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentPromiseNotifierTest.java:0: invalid newline character (expected: CRLF)
    291 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentSingleThreadEventExecutorTest.java:0: File does not end with a newline.
    292 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilconcurrentSingleThreadEventExecutorTest.java:0: invalid newline character (expected: CRLF)
    293 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilDefaultAttributeMapTest.java:0: File does not end with a newline.
    294 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilDefaultAttributeMapTest.java:0: invalid newline character (expected: CRLF)
    295 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilDomainNameMappingTest.java:0: File does not end with a newline.
    296 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilDomainNameMappingTest.java:0: invalid newline character (expected: CRLF)
    297 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilHashedWheelTimerTest.java:0: File does not end with a newline.
    298 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilHashedWheelTimerTest.java:0: invalid newline character (expected: CRLF)
    299 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalAppendableCharSequenceTest.java:0: File does not end with a newline.
    300 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalAppendableCharSequenceTest.java:0: invalid newline character (expected: CRLF)
    301 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingCommonsLoggerFactoryTest.java:0: File does not end with a newline.
    302 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingCommonsLoggerFactoryTest.java:0: invalid newline character (expected: CRLF)
    303 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingCommonsLoggerTest.java:0: File does not end with a newline.
    304 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingCommonsLoggerTest.java:0: invalid newline character (expected: CRLF)
    305 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingInternalLoggerFactoryTest.java:0: File does not end with a newline.
    306 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingInternalLoggerFactoryTest.java:0: invalid newline character (expected: CRLF)
    307 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingJdkLoggerFactoryTest.java:0: File does not end with a newline.
    308 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingJdkLoggerFactoryTest.java:0: invalid newline character (expected: CRLF)
    309 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingLog4J2LoggerFactoryTest.java:0: File does not end with a newline.
    310 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingLog4J2LoggerFactoryTest.java:0: invalid newline character (expected: CRLF)
    311 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingLog4J2LoggerTest.java:0: File does not end with a newline.
    312 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingLog4J2LoggerTest.java:0: invalid newline character (expected: CRLF)
    313 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingLog4JLoggerFactoryTest.java:0: File does not end with a newline.
    314 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingLog4JLoggerFactoryTest.java:0: invalid newline character (expected: CRLF)
    315 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingSlf4JLoggerFactoryTest.java:0: File does not end with a newline.
    316 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingSlf4JLoggerFactoryTest.java:0: invalid newline character (expected: CRLF)
    317 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingSlf4JLoggerTest.java:0: File does not end with a newline.
    318 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalloggingSlf4JLoggerTest.java:0: invalid newline character (expected: CRLF)
    319 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalPlatformDependentTest.java:0: File does not end with a newline.
    320 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalPlatformDependentTest.java:0: invalid newline character (expected: CRLF)
    321 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalStringUtilTest.java:0: File does not end with a newline.
    322 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalStringUtilTest.java:0: invalid newline character (expected: CRLF)
    323 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalThreadLocalRandomTest.java:0: File does not end with a newline.
    324 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalThreadLocalRandomTest.java:0: invalid newline character (expected: CRLF)
    325 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalTypeParameterMatcherTest.java:0: File does not end with a newline.
    326 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilinternalTypeParameterMatcherTest.java:0: invalid newline character (expected: CRLF)
    327 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilNetUtilTest.java:0: File does not end with a newline.
    328 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilNetUtilTest.java:0: invalid newline character (expected: CRLF)
    329 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilRecyclerTest.java:0: File does not end with a newline.
    330 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilRecyclerTest.java:0: invalid newline character (expected: CRLF)
    331 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilResourceLeakDetectorTest.java:0: File does not end with a newline.
    332 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilResourceLeakDetectorTest.java:0: invalid newline character (expected: CRLF)
    333 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilThreadDeathWatcherTest.java:0: File does not end with a newline.
    334 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilThreadDeathWatcherTest.java:0: invalid newline character (expected: CRLF)
    335 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilUniqueNameTest.java:0: File does not end with a newline.
    336 D:KnowledgeSOURCE
    etty
    etty-4.0commonsrc	estjavaio
    ettyutilUniqueNameTest.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
    View Code

    后来在各种搜索中找解决方案,百度中很多地方的帖子都说是maven的plugin配置的问题,后来我依着提示修改,然并卵。 最后在stackoverflow上找到一个帖子的建议链接,链接如下:https://help.github.com/articles/dealing-with-line-endings/#platform-windows

    里面说的很清楚:

    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下是/r/n,但是linux下换行是/n。

    解决方案,我采用的是他的第一个解决方案:

    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.

    On Windows, you simply pass true to the configuration. For example:

    git 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的源码进行编译的话,本帖子可以给你提供一点借鉴,欢迎转帖。转帖请指明出处。

  • 相关阅读:
    AD域撤销域用户管理员权限方案
    域普通用户执行金蝶K/3权限不够解决方法
    redis安装windows+64位
    解决pycharm中no python interpreter configured问题
    python3报错---Error in sitecustomize; set PYTHONVERBOSE for traceback: NameError: name 'reload' is not defined
    python+robot+oracle:执行脚本时中文sql报错:UnicodeEncodeError: 'ascii' codec can't encode
    git-最简单的操作流程
    pycharm配置后执行RF脚本
    性能测试-jmeter基础5-设计数据自动递增
    性能测试-jmeter基础4-设置日期的递增参数demo
  • 原文地址:https://www.cnblogs.com/shihuc/p/6184112.html
一二三 - 开发者的网上家园