[844] in java-interest

home help back first fref pref prev next nref lref last post

jsp versus invokevirtual

daemon@ATHENA.MIT.EDU (th.indy.net@indy.net)
Mon Jul 24 03:50:10 1995

Date: Mon, 24 Jul 1995 00:59:56 -0500
From: th.indy.net@indy.net
To: java-interest@java.sun.com

        I'm sorry if this is to the wrong group, but I am not really 
interested in actually porting Java, so I never signed up for that list. 
        Anyway, I was looking over the Virtual Machine spec, and was 
wondering if someone could answer this question: Since all references are 
symbolic until run-time, the invokevirtual command is the way to get at a 
certain method. This command has several safeguards for protecting against 
getting into errant memory. However, the jsp (jump) statement still exists. 
Obviously I can't use it for jumping to a method, but couldn't I get 
dangerous with it just the same?
        I guess I am confused over whether the method call lookups are just 
added protection for solving the fragile superclass problem, and they just 
happen to also be a security feature, or whether it is a security feature 
in and of itself.

thanks,
tim 
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post