infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (INFRA-16381) Install the latest JDK 6 on ubuntus
Date Tue, 17 Apr 2018 22:24:00 GMT

     [ https://issues.apache.org/jira/browse/INFRA-16381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gavin closed INFRA-16381.
-------------------------
    Resolution: Fixed
      Assignee: Gavin

Thanks for following up.

> Install the latest JDK 6 on ubuntus
> -----------------------------------
>
>                 Key: INFRA-16381
>                 URL: https://issues.apache.org/jira/browse/INFRA-16381
>             Project: Infrastructure
>          Issue Type: Wish
>          Components: Jenkins
>            Reporter: Lukasz Lenart
>            Assignee: Gavin
>            Priority: Major
>
> With the current version of JDK6 on ubuntus I'm not able to build the project, it passes
locally on my Mac with JDK 1.6.0_51 but it fails as below when running on JDK 1.6.0_45. I
have tried all the combinations and no luck.
> [INFO] Compiling 4 source files to /home/jenkins/jenkins-slave/workspace/Struts-2-4-JDK6/apps/blank/target/classes
> An exception has occurred in the compiler (1.6.0_45). Please file a bug at the Java Developer
Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates.
Include your program and the following diagnostic in your report.  Thank you.
> java.lang.LinkageError: loader constraint violation: when resolving method "com.sun.tools.javadoc.DocCommentScanner$Factory.preRegister(Lcom/sun/tools/javac/util/Context;)V"
the class loader (instance of java/net/FactoryURLClassLoader) of the current class, com/sun/tools/javac/main/JavaCompiler,
and the class loader (instance of sun/misc/Launcher$AppClassLoader) for resolved class, com/sun/tools/javadoc/DocCommentScanner$Factory,
have different Class objects for the type com/sun/tools/javac/util/Context used in the signature
> 	at com.sun.tools.javac.main.JavaCompiler.initProcessAnnotations(JavaCompiler.java:883)
> 	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:724)
> 	at com.sun.tools.javac.main.Main.compile(Main.java:353)
> 	at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:113)
> 	at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
> 	at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
> 	at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:943)
> 	at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:137)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	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:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message