activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-861) Artemis 1.5 compilation fails with IBM JDK
Date Thu, 01 Jun 2017 15:29:04 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16033154#comment-16033154
] 

ASF subversion and git services commented on ARTEMIS-861:
---------------------------------------------------------

Commit c6747a58eaab0bb60acad4d626279765ed9e5ea6 in activemq-artemis's branch refs/heads/1.x
from [~iweiss]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=c6747a5 ]

[ARTEMIS-861] Artemis 1.5 compilation fails with IBM JDK

Issue: https://issues.apache.org/jira/browse/ARTEMIS-861
(cherry picked from commit e6f757e44f779f05abf647c41422d8d4bdf867ac)


> Artemis 1.5 compilation fails with IBM JDK
> ------------------------------------------
>
>                 Key: ARTEMIS-861
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-861
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: IBM JDK
> The issue was hit with following version
> java version "1.8.0"
> Java(TM) SE Runtime Environment (build pxa6480sr2-20151023_01(SR2))
> IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20151019_272764
(JIT enabled, AOT enabled)
> J9VM - R28_Java8_SR2_20151019_2144_B272764
> JIT  - tr.r14.java_20151006_102517.04
> GC   - R28_Java8_SR2_20151019_2144_B272764_CMPRSS
> J9CL - 20151019_272764)
> JCL - 20151022_01 based on Oracle jdk8u65-b17
>            Reporter: Erich Duda
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> The compilation fails in module ActiveMQ Artemis Commons with following exception.
> {code}
> [INFO] Compiling 11 source files to /home/eduda/Projects/activemq-artemis/artemis-commons/target/test-classes
> An exception has occurred in the compiler (1.9.0-internal). Please file a bug at the
Java Bug Database (http://bugreport.java.com/bugreport/) after checking the database for duplicates.
Include your program and the following diagnostic in your report.  Thank you.
> java.lang.NullPointerException
> 	at com.sun.tools.javac.code.Types.isSignaturePolymorphic(Types.java:1066)
> 	at com.sun.tools.javac.jvm.ClassReader.readMethod(ClassReader.java:2028)
> 	at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:2253)
> 	at com.sun.tools.javac.jvm.ClassReader.readClassBuffer(ClassReader.java:2325)
> 	at com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:2338)
> 	at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:341)
> 	at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:279)
> 	at com.sun.tools.javac.code.ClassFinder.access$000(ClassFinder.java:72)
> 	at com.sun.tools.javac.code.ClassFinder$1.complete(ClassFinder.java:159)
> 	at com.sun.tools.javac.code.Symbol.complete(Symbol.java:579)
> 	at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1074)
> 	at com.sun.tools.javac.code.Type$ClassType.complete(Type.java:1125)
> 	at com.sun.tools.javac.code.Type$ClassType.getTypeArguments(Type.java:1051)
> 	at com.sun.tools.javac.code.Type$ClassType.allparams(Type.java:1073)
> 	at com.sun.tools.javac.code.Type$ClassType.isParameterized(Type.java:1086)
> 	at com.sun.tools.javac.code.Types.capture(Types.java:3995)
> 	at com.sun.tools.javac.comp.Resolve$MethodResultInfo.check(Resolve.java:1007)
> 	at com.sun.tools.javac.comp.Resolve$4.checkArg(Resolve.java:826)
> 	at com.sun.tools.javac.comp.Resolve$AbstractMethodCheck.argumentsAcceptable(Resolve.java:731)
> 	at com.sun.tools.javac.comp.Resolve$4.argumentsAcceptable(Resolve.java:835)
> 	at com.sun.tools.javac.comp.Resolve.rawInstantiate(Resolve.java:576)
> 	at com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1440)
> 	at com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1621)
> 	at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1690)
> 	at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1664)
> 	at com.sun.tools.javac.comp.Resolve$9.doLookup(Resolve.java:2364)
> 	at com.sun.tools.javac.comp.Resolve$BasicLookupHelper.lookup(Resolve.java:2972)
> 	at com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3223)
> 	at com.sun.tools.javac.comp.Resolve.resolveQualifiedMethod(Resolve.java:2361)
> 	at com.sun.tools.javac.comp.Resolve.resolveInternalMethod(Resolve.java:2429)
> 	at com.sun.tools.javac.comp.LambdaToMethod.makeIndyCall(LambdaToMethod.java:1036)
> 	at com.sun.tools.javac.comp.LambdaToMethod.makeMetafactoryIndyCall(LambdaToMethod.java:1019)
> 	at com.sun.tools.javac.comp.LambdaToMethod.visitReference(LambdaToMethod.java:406)
> 	at com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2149)
> 	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)
> 	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
> 	at com.sun.tools.javac.tree.TreeTranslator.visitApply(TreeTranslator.java:280)
> 	at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1598)
> 	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)
> 	at com.sun.tools.javac.tree.TreeTranslator.visitVarDef(TreeTranslator.java:158)
> 	at com.sun.tools.javac.comp.LambdaToMethod.visitVarDef(LambdaToMethod.java:460)
> 	at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:920)
> 	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)
> 	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
> 	at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)
> 	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:984)
> 	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)
> 	at com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:150)
> 	at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:836)
> 	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)
> 	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
> 	at com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:139)
> 	at com.sun.tools.javac.comp.LambdaToMethod.visitClassDef(LambdaToMethod.java:237)
> 	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:744)
> 	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)
> 	at com.sun.tools.javac.comp.LambdaToMethod.translateTopLevelClass(LambdaToMethod.java:217)
> 	at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1453)
> 	at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1317)
> 	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:858)
> 	at com.sun.tools.javac.main.Main.compile(Main.java:253)
> 	at com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:253)
> 	at com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:163)
> 	at com.google.errorprone.ErrorProneCompiler.compile(ErrorProneCompiler.java:92)
> 	at org.codehaus.plexus.compiler.javac.errorprone.JavacCompilerWithErrorProne$CompilerInvoker.compile(JavacCompilerWithErrorProne.java:219)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
> 	at java.lang.reflect.Method.invoke(Method.java:507)
> 	at org.codehaus.plexus.compiler.javac.errorprone.JavacCompilerWithErrorProne.performCompile(JavacCompilerWithErrorProne.java:91)
> 	at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785)
> 	at org.apache.maven.plugin.compiler.TestCompilerMojo.execute(TestCompilerMojo.java:152)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
> 	at java.lang.reflect.Method.invoke(Method.java:507)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> {code}
> I found out the compilation failure has occurred since commit [8c1ec12b33170689156317d6c452da0caaa13f10|https://github.com/apache/activemq-artemis/commit/8c1ec12b33170689156317d6c452da0caaa13f10]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message