protected void doGet()

in src/main/java/org/apache/sling/launchpad/testservices/servlets/MiscUnsafeServlet.java [45:55]


    protected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response)
            throws ServletException, IOException {
        // use the classloader instead of the class literal to prevent generating an Import-Package clause
        // for the sun.misc package
        response.setContentType("text/plain");
        try {
            response.getWriter().write(getClass().getClassLoader().loadClass("sun.misc.Unsafe").getCanonicalName());
        } catch (ClassNotFoundException e) {
            throw new ServletException("Failed loading Unsafe class", e);
        }
    }