Contents - Cultural View

Contents - Cultural View Contents - Cultural View

culturalview.com
from culturalview.com More from this publisher
14.07.2013 Views

Object type (object-oriented programming) 238 Integer i = new Integer(9); Integer j = new Integer(13); int k = 9 + 13; // always OK Integer l = i + j; // error in versions prior to 5.0! Compilers prior to 5.0 would not accept the last line. Integers are reference objects, on the surface no different from List, Object, and so forth; mathematical operators such as + were not meaningfully defined for references. As of J2SE 5.0, the Integers i and j are unboxed into ints, the two are added, and then the sum is autoboxed into a new Integer. [1] Unboxing Unboxing refers to a boxed value type which has been broken down and the value type retrieved for a process of some kind such as a mathematical operation. For example, in versions of Java prior to J2SE 5.0, the following code did not compile: int i = 4; int j = 5; Integer k = new Integer(i + j); // always OK Integer l = i + j; // would have been an error, but okay now - equivalent to previous line C# does not support automatic unboxing. A boxed object must be explicitly unboxed with a typecasting operator: int i = 42; object o = i; //box int j = (int)o; //unbox Console.Writeline(j); //outputs "42" References [1] java.sun.com Java language guide entry on autoboxing (http:/ / java. sun. com/ j2se/ 1. 5. 0/ docs/ guide/ language/ autoboxing. html)

Omniscient Debugger 239 Omniscient Debugger The Omniscient Debugger, or ODB for short, is a Java programming language debugger which lets users step backwards in time. It allows this by keeping track of all changes to objects and variables made as a program runs. [1] It is free open source software, released under the GPL license. [1] Lewis, Bil (2003), "Debugging Backwards in Time" (http:/ / www. citebase. org/ abstract?id=oai:arXiv. org:cs/ 0310016), in Ronsse, M.; De Bosschere, K., Proceedings of the Fifth International Workshop on Automated Debugging (AADEBUG 2003) (http:/ / arxiv. org/ abs/ cs. SE/ 0309027), Ghent, September 2003, External links • ODB home page (http:/ / www. lambdacs. com/ debugger/ ) • Debugging Backwards in Time (http:/ / video. google. com/ videoplay?docid=3897010229726822034) video, hosted by Google Video • Dr. Dobb's Journal article about ODB (http:/ / www. ddj. com/ article/ printableArticle. jhtml?articleID=184406101& dept_url=/ dept/ debug/ ) OpenJDK Developer(s) Sun Microsystems Initial release Stable release Written in C++ and Java Operating system Type Library openJDK6 Build b05 February 12, 2008 [1] OpenJDK6 Build b20 [2] / June 21, 2010 Cross-platform License GPL+linking exception Website [3] Developer(s) Sun Microsystems Preview release Written in C++ and Java Operating system Type Library OpenJDK7 Build b105 [4] / August 13, 2010 Cross-platform License GPL+linking exception Website [5] OpenJDK (aka Open Java Development Kit) is a Free and open source implementation of the Java programming language. It is the result of an effort Sun Microsystems began in 2006. The implementation is licensed under the GNU General Public License (GPL) with a linking exception, which exempts components of the Java class library from the GPL licensing terms.

Omniscient Debugger 239<br />

Omniscient Debugger<br />

The Omniscient Debugger, or ODB for short, is a Java programming language debugger which lets users step<br />

backwards in time. It allows this by keeping track of all changes to objects and variables made as a program runs. [1]<br />

It is free open source software, released under the GPL license.<br />

[1] Lewis, Bil (2003), "Debugging Backwards in Time" (http:/ / www. citebase. org/ abstract?id=oai:arXiv. org:cs/ 0310016), in Ronsse, M.; De<br />

Bosschere, K., Proceedings of the Fifth International Workshop on Automated Debugging (AADEBUG 2003) (http:/ / arxiv. org/ abs/ cs. SE/<br />

0309027), Ghent, September 2003,<br />

External links<br />

• ODB home page (http:/ / www. lambdacs. com/ debugger/ )<br />

• Debugging Backwards in Time (http:/ / video. google. com/ videoplay?docid=3897010229726822034) video,<br />

hosted by Google Video<br />

• Dr. Dobb's Journal article about ODB (http:/ / www. ddj. com/ article/ printableArticle.<br />

jhtml?articleID=184406101& dept_url=/ dept/ debug/ )<br />

OpenJDK<br />

Developer(s) Sun Microsystems<br />

Initial release<br />

Stable release<br />

Written in C++ and Java<br />

Operating<br />

system<br />

Type Library<br />

openJDK6 Build b05 February 12, 2008 [1]<br />

OpenJDK6 Build b20 [2] / June 21, 2010<br />

Cross-platform<br />

License GPL+linking exception<br />

Website [3]<br />

Developer(s) Sun Microsystems<br />

Preview release<br />

Written in C++ and Java<br />

Operating<br />

system<br />

Type Library<br />

OpenJDK7 Build b105 [4] / August 13,<br />

2010<br />

Cross-platform<br />

License GPL+linking exception<br />

Website [5]<br />

OpenJDK (aka Open Java Development Kit) is a Free and open source implementation of the Java programming<br />

language. It is the result of an effort Sun Microsystems began in 2006. The implementation is licensed under the<br />

GNU General Public License (GPL) with a linking exception, which exempts components of the Java class library<br />

from the GPL licensing terms.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!