DynamicClassLoader's call to ClassLoader.getSystemClassLoader is prohibited in some environments

Description

Currently, clojure.lang.DynamicClassLoader's constructor has the
following call to super():

That call to ClassLoader.getSystemClassLoader() is forbidden by Google
AppEngine's security policies. That restricts you from being able to
load any resources from the classpath that haven't been AOT-compiled.
I've verified that just removing that removing the " ||
Thread.currentThread().getContextClassLoader() ==
ClassLoader.getSystemClassLoader()" does in fact result in something
that works in GAE (as far as my needs go). Unfortunately, I'm not sure
whether that breaks anything, which, presumably, it does.

Environment

None

Activity

Show:
import
August 24, 2010, 9:45 AM

Comment made by: importer

richhickey said: Updating tickets (#127, #128, #129, #130)

import
August 24, 2010, 9:45 AM

Comment made by: importer

jmcconnell said: I'd be happy to take this up with the GAE folks if it winds up looking like this is something they should probably allow or if we need any further information from them on their policies.

import
August 24, 2010, 9:45 AM

Comment made by: importer

Converted from http://www.assembla.com/spaces/clojure/tickets/127

Kevin Downey
April 18, 2014, 6:05 AM

hard to say if this is still an issue, but I have been able to run clojure code on GAE in the past

Alex Miller
December 6, 2018, 3:50 AM

Don't think we care about Google Appengine at this point.

Assignee

Unassigned

Reporter

import

Labels

Approval

None

Patch

None

Priority

Major
Configure