{"action":"created","issue":{"url":"https://api.github.com/repos/ben-manes/concurrentlinkedhashmap/issues/47","repository_url":"https://api.github.com/repos/ben-manes/concurrentlinkedhashmap","labels_url":"https://api.github.com/repos/ben-manes/concurrentlinkedhashmap/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/ben-manes/concurrentlinkedhashmap/issues/47/comments","events_url":"https://api.github.com/repos/ben-manes/concurrentlinkedhashmap/issues/47/events","html_url":"https://github.com/ben-manes/concurrentlinkedhashmap/issues/47","id":143003121,"number":47,"title":"Google App Engine error: sun.misc.Unsafe is a restricted class","user":{"login":"johnpoth","id":7074290,"avatar_url":"https://avatars.githubusercontent.com/u/7074290?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpoth","html_url":"https://github.com/johnpoth","followers_url":"https://api.github.com/users/johnpoth/followers","following_url":"https://api.github.com/users/johnpoth/following{/other_user}","gists_url":"https://api.github.com/users/johnpoth/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpoth/subscriptions","organizations_url":"https://api.github.com/users/johnpoth/orgs","repos_url":"https://api.github.com/users/johnpoth/repos","events_url":"https://api.github.com/users/johnpoth/events{/privacy}","received_events_url":"https://api.github.com/users/johnpoth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-23T16:03:47Z","updated_at":"2016-03-24T01:39:21Z","closed_at":null,"body":"Hi Ben,\r\n\r\nI'm currently experiencing an issue with ConcurrentHashMapV8 on google app engine:\r\n\r\nCaused by: java.lang.NoClassDefFoundError: sun.misc.Unsafe is a restricted class. Please see the Google App Engine developer's guide for more details.\r\n\tat com.google.apphosting.runtime.security.shared.stub.sun.misc.Unsafe.<clinit>(Unsafe.java)\r\n\tat org.apache.camel.com.googlecode.concurrentlinkedhashmap.ConcurrentHashMapV8.getUnsafe(ConcurrentHashMapV8.java:4136)\r\n\r\nDoes it make sense to create a patch for this considering the performance impact? I also noticed sun.misc.Unsafe is used in the caffeine project.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/ben-manes/concurrentlinkedhashmap/issues/comments/200608203","html_url":"https://github.com/ben-manes/concurrentlinkedhashmap/issues/47#issuecomment-200608203","issue_url":"https://api.github.com/repos/ben-manes/concurrentlinkedhashmap/issues/47","id":200608203,"user":{"login":"ben-manes","id":378614,"avatar_url":"https://avatars.githubusercontent.com/u/378614?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-manes","html_url":"https://github.com/ben-manes","followers_url":"https://api.github.com/users/ben-manes/followers","following_url":"https://api.github.com/users/ben-manes/following{/other_user}","gists_url":"https://api.github.com/users/ben-manes/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-manes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-manes/subscriptions","organizations_url":"https://api.github.com/users/ben-manes/orgs","repos_url":"https://api.github.com/users/ben-manes/repos","events_url":"https://api.github.com/users/ben-manes/events{/privacy}","received_events_url":"https://api.github.com/users/ben-manes/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T01:39:21Z","updated_at":"2016-03-24T01:39:21Z","body":"I just noticed that this is for Camel which shades the jar. That makes it harder patch and they've recently [started to upgrade](https://issues.apache.org/jira/browse/CAMEL-8602) to Caffeine. So this would require a patch release and an upgraded Camel release. That could be a bit of a headache if you want a quick turnaround.\r\n\r\nDo GAE managed VMs put these types of restrictions in place? That might be the best option, since the traditional VMs with Java were known to be a very poor experience."}}