1 Reply Latest reply: Mar 12, 2013 2:05 PM by anandk RSS

    JCS is not supporting sun.misc.BASE64Encoder().encode()

    raghu katta
      Hi All,

      We were used sun.misc.BASE64Encoder().encode() in one of our products and its not supporting in JCS. This class is not mentioned in white list errors. We are able to deploy this product in cloud and whenever it executes the above method its throwing an error and it is "Error Message: access denied (java.lang.RuntimePermission accessClassInPackage.sun.misc)". Please suggest work around for the above code.

      Thanks&Regards,
      Raghu
        • 1. Re: JCS is not supporting sun.misc.BASE64Encoder().encode()
          anandk
          Hi,

          Whitelist processing is our best effort to indicate what "will" work in Java Cloud Service. There are situations where we cannot definitively indicate if you are using an API that wont work on JCS. The runtime process is the source of truth. I have passed along this message to our development team. They will investigate and if possible introduce a warning in the whitelist in our next release. Thanks and I appreciate you pointing that out. This package is not supported in JCS.

          Thanks,
          -Anand.