Compiling with Java 1.6 breaks tools in Sakai

Description

A number of tools are broken in a similar way to: http://jira.sakaiproject.org/browse/SAK-16745

2009-07-23 14:48:57,191 INFO main org.apache.catalina.startup.HostConfig - Deploying web application archive sakai-chat-tool.war
java.lang.ClassNotFoundException: [Ljava.lang.String;
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)

This happens due to compiling with Java 1.6. The short term work around is to add the following option in the tomcat startup script.
-Dsun.lang.ClassLoader.allowArraySyntax=true

Code needs to be updated to avoid this.

Effected

Samiog-app,
sakai-chat
sakai-blogger
osp-wizaard-tool
osp-matrix-tool

100% Done
0

Activity

Show:

Anthony Whyte November 16, 2010 at 8:43 AM

Setting fix version to unknown.

Steve Swinsburg November 2, 2010 at 10:08 PM

Marking this issue as Won't Fix as we do not have the resources to fix this. The workaround of specifying the extra JAVA_OPTS is suitable.

Beth Kirschner July 13, 2010 at 11:14 AM

Changing components to "Other", to allow for more accurate bug counts within each component

Anthony Whyte March 2, 2010 at 1:15 AM

Lowering the status to critcal.

Anthony Whyte March 2, 2010 at 1:10 AM

Addressing this issue will be deferred to either 2.8 or a later 2.7 maintenance release. The current workaround is to add the following environment parameter to JAVA_OPTS.

-Dsun.lang.ClassLoader.allowArraySyntax=true

Won't Fix

Details

Priority

Affects versions

Components

Assignee

Reporter

Environment

qa1-nl, qa1-za
Created December 14, 2009 at 6:10 AM
Updated June 22, 2016 at 11:55 AM
Resolved November 2, 2010 at 10:08 PM

Flag notifications