| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2294 人关注过本帖
标题:关于Java runtime enviroment 的一些小问题.
取消只看楼主 加入收藏
yesunan
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2004-8-13
收藏
 问题点数:0 回复次数:1 
关于Java runtime enviroment 的一些小问题.

A Java technology runtime environment runs code compiled for a JVM and performs three main tasks: Loads code – Performed by the class loader Verifies code – Performed by the bytecode verifier Executes code – Performed by the runtime interpreter

loads code 那个过程不是很明白,

Class Loader The class loader loads all classes needed for the execution of a program. The class loader adds security by separating the namespaces for the classes of the local file system from those imported from network sources. This limits any Trojan horse applications because local classes are always loaded first. 3 Classes that are imported from across the network are loaded into a private namespace associated with the origin. When a class from the private namespace accesses another class, the built-in (local system) classes are checked first, then those in the namespace of the referencing class. This prevents a class from spoofing (creating a hoax of) a built-in class. Once all of the classes have been loaded, the memory layout of the executable file is determined. At this point specific memory addresses are assigned to symbolic references and the lookup table is created. Because memory layout occurs at runtime, the Java technology interpreter adds protection against unauthorized access into the restricted areas of code.

英文不是很好,这里看的不大明白,谁能够给解释一下啊!特别是如何限制木马那里。

[此贴子已经被作者于2004-08-19 22:57:35编辑过]

搜索更多相关主题的帖子: Java runtime enviroment loader The 
2004-08-19 22:55
yesunan
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2004-8-13
收藏
得分:0 

谢谢~~~~


2004-08-20 16:31
快速回复:关于Java runtime enviroment 的一些小问题.
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018265 second(s), 10 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved