Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Does the order of unchecked and method matter ?  RSS feed

 
sopal Pal
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With reference to the HFEJB book on page - 581 where the concept of <unchecked/> is introduced
would the meaning still be the same if the
<method>
.
.
.
<method/>
comes before the
<unchecked/>
Thanks
 
Seema Manivannan
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The DTD of method permission is defined as
<!ELEMENT method-permission (description?, (role-name+|unchecked),
method+)>
So the unchecked element has to appear before the method elements.
Hope this helps
Thanks
Seema
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!