Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

api permission

Featured Replies

can we please have permission for:

Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.com.sun.corba.se.spi.orb")

ty

  • Author

StringPair - allows grouping of two strings and the ability to read the former and the latter with getFirst() and getSecond()

 

com.sun.corba.se.spi.orb.StringPair;

Edited by Novak

  • Administrator

I loathe to start whitelisting things like that for a single class where the source is also simple and short:

public class StringPair {
    private String first ;
    private String second ;

    public boolean equals( Object obj )
    {
        if (this == obj)
            return true ;

        if (!(obj instanceof StringPair))
            return false ;

        StringPair other = (StringPair)obj ;

        return (first.equals( other.first ) &&
            second.equals( other.second )) ;
    }

    public int hashCode()
    {
        return first.hashCode() ^ second.hashCode() ;
    }

    public StringPair( String first, String second )
    {
        this.first = first ;
        this.second = second ;
    }

    public String getFirst()
    {
        return first ;
    }

    public String getSecond()
    {
        return second ;
    }
}
  • Author

at what point are there so many "1 off" classes that they should start being allowed?  why is something like this even blocked in the first place?

  • Administrator

at what point are there so many "1 off" classes that they should start being allowed?  why is something like this even blocked in the first place?

 

I don't think we intended to block it, but rather, it was blocked because Java doesn't load it initially and is caught by one of the standard sandbox rules.

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.