blob: 78b5a1aab5fc3d6d669bd777d93af22749467153 [file] [log] [blame]
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="../css/ot.css" />
<link rel="stylesheet" type="text/css" href="../css/otjld.css" />
<title>OT/J Language Definition v1.3</title>
</head>
<body class="otdt">
<div id="content">
<table class="nav">
<tr>
<td class="back"><a id="top"></a><a href="sB.1.1.html" rel="prev">&lt;&lt;&nbsp;&sect;B.1.(1)&nbsp;Between OTJLD 1.0 and OTJLD 1.1</a></td>
<td class="top"><a href="index.html" rel="contents">&uarr;&nbsp;Table of Contents&nbsp;&uarr;</a></td>
<td class="next"><a href="sB.1.3.html" rel="next">&sect;B.1.(3)&nbsp;Between OTJLD 1.2 and OTJLD 1.3&nbsp;&gt;&gt;</a></td>
</tr>
</table>
<div class="breadcrumb"><a class="nav" href="sB.html" rel="section">&sect;B&nbsp;Changes between versions</a>&nbsp;&gt;&nbsp;<a class="nav" href="sB.1.html" rel="section">&sect;B.1&nbsp;Paragraphs changed between versions</a></div>
<div class="subsect depth3" id="sB.1.2">
<h4 class="subsect">&sect;B.1.(2)&nbsp;<span class="title">Between OTJLD 1.1 and OTJLD 1.2</span><a class="img" href="sB.1.2.html"
title="PermaLink to (2)&nbsp;Between OTJLD 1.1 and OTJLD 1.2"><img style="vertical-align:text-top;margin-left:5px;" src="../images/permalink.png"
alt="" /></a></h4>
<ul>
<li><a href="s1.2.1.e.html" title="&sect;1.2.1.(e)&nbsp;Role features"
class="sect">&sect;1.2.1.(e)</a>:
<strong>Visibility of role features</strong><p>
Clarification has been added that a role can always access all the
features that its enclosing team has access to.
</p>
</li>
<li><a href="s2.1.2.e.html" title="&sect;2.1.2.(e)&nbsp;No free type parameters"
class="sect">&sect;2.1.2.(e)</a>:
<strong>Generic roles/bases</strong><p>
Relaxed the rules about generic bound roles. This change also subsumes what previously was a specific restriction in
<a href="s4.1.b.html" title="&sect;4.1.(b)&nbsp;Prerequisite: Class binding"
class="sect">&sect;4.1.(b)</a>.
</p>
</li>
<li><a href="s3.1.i.html" title="&sect;3.1.(i)&nbsp;Shorthand definition"
class="sect">&sect;3.1.(i)</a> and <a href="s3.5.f.html" title="&sect;3.5.(f)&nbsp;Shorthand definition"
class="sect">&sect;3.5.(f)</a>:
<strong>Visibility of shorthand callout</strong><p>
A role method defined by a shorthand callout binding can now specify a visibility modifier
(see also <a href="sA.html#sA.3.2" title="&sect;A.3.2&nbsp;CalloutBinding" class="sect">&sect;A.3.2</a>),
otherwise it inherits the visibility modifier of it's bound base method/field.
</p>
</li>
<li><a href="s3.1.j.html" title="&sect;3.1.(j)&nbsp;Inferred callout" class="sect">&sect;3.1.(j)</a> and <a href="s3.5.h.html" title="&sect;3.5.(h)&nbsp;Inferred callout" class="sect">&sect;3.5.(h)</a>:
<strong>Visibility of inferred callout</strong><p>
Role methods inferred as a callout binding are either <code>public</code>
(inferred via interface) or <code>private</code> inferred from
self call / field access.
</p>
</li>
<li><a href="s3.5.h.html" title="&sect;3.5.(h)&nbsp;Inferred callout" class="sect">&sect;3.5.(h)</a>:
<strong>No explicit use of inferred callout to field</strong><p>
Clarification has been added that an accessor method generated for an inferred callout to field
can not be explicitly invoked.
</p>
</li>
<li><a href="s4.1.b.html" title="&sect;4.1.(b)&nbsp;Prerequisite: Class binding"
class="sect">&sect;4.1.(b)</a>:
<strong>No callin in generic role</strong><p>
A restriction has been made explicit that a generic role cannot define callin bindings.
</p>
</li>
<li><a href="s4.2.d.html" title="&sect;4.2.(d)&nbsp;Callin methods" class="sect">&sect;4.2.(d)</a> :
<strong>Callin methods</strong><p>Slightly rephrased and extended the rule to make explicit that a callin method can
indeed be intercepted using a second level callin binding.
</p>
</li>
<li><a href="s6.1.a.html"
title="&sect;6.1.(a)&nbsp;Interface to the role registry"
class="sect">&sect;6.1.(a)</a> :
<strong>Reflective methods <code>getAllRoles</code></strong><p>
More precision: answer only <em>bound</em> roles.
</p>
</li>
</ul>
</div>
<table class="nav">
<tr>
<td class="back"><a href="sB.1.1.html" rel="prev">&lt;&lt;&nbsp;&sect;B.1.(1)&nbsp;Between OTJLD 1.0 and OTJLD 1.1</a></td>
<td class="top"><a href="index.html" rel="contents">&uarr;&nbsp;Table of Contents&nbsp;&uarr;</a></td>
<td class="next"><a href="sB.1.3.html" rel="next">&sect;B.1.(3)&nbsp;Between OTJLD 1.2 and OTJLD 1.3&nbsp;&gt;&gt;</a></td>
</tr>
</table>
<div class="breadcrumb"><a class="nav" href="sB.html" rel="section">&sect;B&nbsp;Changes between versions</a>&nbsp;&gt;&nbsp;<a class="nav" href="sB.1.html" rel="section">&sect;B.1&nbsp;Paragraphs changed between versions</a></div>
</div>
<div id="footer">
<hr /><a class="w3c img" href="http://jigsaw.w3.org/css-validator/check/referer"
shape="rect"><img src="../images/valid-css2-blue.png" alt="Valid CSS!" height="31" width="88" /></a><a class="w3c img" href="http://validator.w3.org/check?uri=referer" shape="rect"><img src="../images/valid-xhtml10-blue.png" alt="Valid XHTML 1.0 Strict" height="31"
width="88" /></a><address>&copy; Stephan Herrmann, Christine Hundt, Marco Mosconi</address>
OT/J version 1.3 &mdash; last modified: 2011-05-12
</div>
</body>
</html>