[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-compiler-dev
Subject:    Compiler NPE com.sun.tools.javac.code.Types.removeWildcards(Types.java:601)
From:       zlob jc <zlob.jc () gmail ! com>
Date:       2017-01-23 9:15:09
Message-ID: CAGG6pGbMffHF3jiN9qT-nu67yinr0TENRKDKH6Mn6p9vHpBS+A () mail ! gmail ! com
[Download RAW message or body]

Right now we are building our project with IDEA on dev and Ant-script on CI.
But we consider to switch to maven and have issue with compiler bug when we
try to build project with Maven.
We try jdk 1.8.0_65, 1.8.0_111, 1.8.0_121 and various versions of maven
compiler plugin results are the same.
This module has hight coupling and we can't localize root of issue yet, so
we have no sample code to reproduce this.
Any help are welcome.

java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

mvn -version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T19:41:47+03:00)
Maven home: C:\Program Files\Maven
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_121\jre
Default locale: ru_RU, platform encoding: Cp1251
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"

Full log https://gist.github.com/zlobjc/4f6885a0e5114542cafabe7fe496836b
--- maven-compiler-plugin:3.6.0:compile (default-compile) @ <PROJECT> ---
Changes detected - recompiling the module!
Compiling 3190 source files to E:\<PROJECT>\target\classes
An exception has occurred in the compiler (1.8.0_111).
java.lang.NullPointerException
at com.sun.tools.javac.code.Types.removeWildcards(Types.java:601)

[Attachment #3 (text/html)]

<div dir="ltr"><div>Right now we are building our project with IDEA on dev and \
Ant-script on CI.</div><div>But we consider to switch to maven and have issue with \
compiler bug when we try to build project with Maven.</div><div>We try jdk 1.8.0_65, \
1.8.0_111, 1.8.0_121 and various versions of maven compiler plugin results are the \
same.</div><div>This module has hight coupling and we can&#39;t localize root of \
issue yet, so we have no sample code to reproduce this.</div><div>Any help are \
welcome.</div><div><br></div><div>java -version</div><div>java version \
&quot;1.8.0_121&quot;</div><div>Java(TM) SE Runtime Environment (build \
1.8.0_121-b13)</div><div>Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed \
mode)</div><div><br></div><div>mvn -version</div><div>Apache Maven 3.3.9 \
(bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T19:41:47+03:00)</div><div>Maven \
home: C:\Program Files\Maven</div><div>Java version: 1.8.0_121, vendor: Oracle \
Corporation</div><div>Java home: C:\Program \
Files\Java\jdk1.8.0_121\jre</div><div>Default locale: ru_RU, platform encoding: \
Cp1251</div><div>OS name: &quot;windows 10&quot;, version: &quot;10.0&quot;, arch: \
&quot;amd64&quot;, family: &quot;dos&quot;</div><div><br></div><div>Full log <a \
href="https://gist.github.com/zlobjc/4f6885a0e5114542cafabe7fe496836b">https://gist.github.com/zlobjc/4f6885a0e5114542cafabe7fe496836b</a></div><div>--- \
maven-compiler-plugin:3.6.0:compile (default-compile) @ &lt;PROJECT&gt; \
---</div><div>Changes detected - recompiling the module!</div><div>Compiling 3190 \
source files to E:\&lt;PROJECT&gt;\target\classes</div><div>An exception has occurred \
in the compiler (1.8.0_111).</div><div>java.lang.NullPointerException</div><div><span \
class="gmail-Apple-tab-span" style="white-space:pre">	</span>at \
com.sun.tools.javac.code.Types.removeWildcards(Types.java:601)</div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic