bugKawa - Bugs: bug #8922, Child is unable to call protected...

 
 

bug #8922: Child is unable to call protected method

Submitter:  None
Submitted:  Wed 12 May 2004 10:26:42 PM UTC
   
 
Category:  Scheme language Severity:  3 - Normal
Item Group:  Unexpected result Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 24 Nov 2005 04:24:45 AM UTC, comment #3: 

 <a href='http://mamba.dynu.net/green/lolita-cp-cum-shot-facials.html'> http://mamba.dynu.net/green/lolita-cp-cum-shot-facials.html - lolita cp cum shot facials </a> http://mamba.dynu.net/green/lolita-cp-cum-shot-facials.html
 <a href='http://pivasik.dynu.net/vatnik/asian-shemale-movie-download.html'> http://pivasik.dynu.net/vatnik/asian-shemale-movie-download.html - asian shemale movie download </a> http://pivasik.dynu.net/vatnik/asian-shemale-movie-download.html
 <a href='http://mamba.dynu.net//free-interracial-movies-sample-sex.html'> http://mamba.dynu.net//free-interracial-movies-sample-sex.html - free interracial movies sample sex </a> http://mamba.dynu.net//free-interracial-movies-sample-sex.html
 <a href='http://mamba.dynu.net//interracial-movies-net-sex.html'> http://mamba.dynu.net//interracial-movies-net-sex.html - interracial movies net sex </a> http://mamba.dynu.net//interracial-movies-net-sex.html
 <a href='http://wvvw.dynu.net/kozel/young-big-boobs.html'> http://wvvw.dynu.net/kozel/young-big-boobs.html - young big boobs </a> http://wvvw.dynu.net/kozel/young-big-boobs.html
 <a href='http://pivasik.dynu.net/kozel/nude-big-breasts.html'> http://pivasik.dynu.net/kozel/nude-big-breasts.html - nude big breasts </a> http://pivasik.dynu.net/kozel/nude-big-breasts.html
 <a href='http://pivasik.dynu.net/puzan/free-sexy-nude-pictures-of-middle-aged-mature-women.html'> http://pivasik.dynu.net/puzan/free-sexy-nude-pictures-of-middle-aged-mature-women.html - free sexy nude pictures of middle aged mature women </a> http://pivasik.dynu.net/puzan/free-sexy-nude-pictures-of-middle-aged-mature-women.html
 <a href='http://wvvw.dynu.net/door/bbw-video-binary-mpg.html'> http://wvvw.dynu.net/door/bbw-video-binary-mpg.html - bbw video binary mpg </a> http://wvvw.dynu.net/door/bbw-video-binary-mpg.html
 <a href='http://pivasik.dynu.net/kozel/free-amateur-big-tits.html'> http://pivasik.dynu.net/kozel/free-amateur-big-tits.html - free amateur big tits </a> http://pivasik.dynu.net/kozel/free-amateur-big-tits.html
 <a href='http://pivasik.dynu.net/masterzone/naked-asian-beauties.html'> http://pivasik.dynu.net/masterzone/naked-asian-beauties.html - naked asian beauties </a> http://pivasik.dynu.net/masterzone/naked-asian-beauties.html
 <a href='http://pivasik.dynu.net/masterzone/chinese-crested-puppies.html'> http://pivasik.dynu.net/masterzone/chinese-crested-puppies.html - chinese crested puppies </a> http://pivasik.dynu.net/masterzone/chinese-crested-puppies.html
 <a href='http://pivasik.dynu.net/kozel/rave-teen-tits.html'> http://pivasik.dynu.net/kozel/rave-teen-tits.html - rave teen tits </a> http://pivasik.dynu.net/kozel/rave-teen-tits.html
 <a href='http://wvvw.dynu.net/door/fat-joe.html'> http://wvvw.dynu.net/door/fat-joe.html - fat joe </a> http://wvvw.dynu.net/door/fat-joe.html
 <a href='http://pivasik.dynu.net/vatnik/hermaphrodite-bardot.html'> http://pivasik.dynu.net/vatnik/hermaphrodite-bardot.html - hermaphrodite bardot </a> http://pivasik.dynu.net/vatnik/hermaphrodite-bardot.html
 <a href='http://wvvw.dynu.net/puzan/70-year-old-naked-women.html'> http://wvvw.dynu.net/puzan/70-year-old-naked-women.html - 70 year old naked women </a> http://wvvw.dynu.net/puzan/70-year-old-naked-women.html
 <a href='http://pivasik.dynu.net//interracial-sex-pic.html'> http://pivasik.dynu.net//interracial-sex-pic.html - interracial sex pic </a> http://pivasik.dynu.net//interracial-sex-pic.html
 <a href='http://pivasik.dynu.net/vatnik/camilla-transsexual.html'> http://pivasik.dynu.net/vatnik/camilla-transsexual.html - camilla transsexual </a> http://pivasik.dynu.net/vatnik/camilla-transsexual.html
 <a href='http://mamba.dynu.net/kozel/big-breasts-in-tight-clothing.html'> http://mamba.dynu.net/kozel/big-breasts-in-tight-clothing.html - big breasts in tight clothing </a> http://mamba.dynu.net/kozel/big-breasts-in-tight-clothing.html
 <a href='http://mamba.dynu.net//nterracial-couple-photo.html'> http://mamba.dynu.net//nterracial-couple-photo.html - nterracial couple photo </a> http://mamba.dynu.net//nterracial-couple-photo.html
 <a href='http://mamba.dynu.net/masterzone/japanese-foods.html'> http://mamba.dynu.net/masterzone/japanese-foods.html - japanese foods </a> http://mamba.dynu.net/masterzone/japanese-foods.html
 <a href='http://wvvw.dynu.net/puzan/fat-mature-porn.html'> http://wvvw.dynu.net/puzan/fat-mature-porn.html - fat mature porn </a> http://wvvw.dynu.net/puzan/fat-mature-porn.html
 <a href='http://mamba.dynu.net/masterzone/asian-erotica.html'> http://mamba.dynu.net/masterzone/asian-erotica.html - asian erotica </a> http://mamba.dynu.net/masterzone/asian-erotica.html
 <a href='http://wvvw.dynu.net//interracial-sex-cartoon.html'> http://wvvw.dynu.net//interracial-sex-cartoon.html - interracial sex cartoon </a> http://wvvw.dynu.net//interracial-sex-cartoon.html
 <a href='http://pivasik.dynu.net/masterzone/asian-teacher-sex-movies.html'> http://pivasik.dynu.net/masterzone/asian-teacher-sex-movies.html - asian teacher sex movies </a> http://pivasik.dynu.net/masterzone/asian-teacher-sex-movies.html
 <a href='http://mamba.dynu.net/vatnik/tranny-trix.html'> http://mamba.dynu.net/vatnik/tranny-trix.html - tranny trix </a> http://mamba.dynu.net/vatnik/tranny-trix.html
 <a href='http://wvvw.dynu.net/vatnik/shemale-escort-services.html'> http://wvvw.dynu.net/vatnik/shemale-escort-services.html - shemale escort services </a> http://wvvw.dynu.net/vatnik/shemale-escort-services.html
 <a href='http://pivasik.dynu.net/puzan/free-granny-sex-movies.html'> http://pivasik.dynu.net/puzan/free-granny-sex-movies.html - free granny sex movies </a> http://pivasik.dynu.net/puzan/free-granny-sex-movies.html
 <a href='http://mamba.dynu.net/green/amatuer-cumshots.html'> http://mamba.dynu.net/green/amatuer-cumshots.html - amatuer cumshots </a> http://mamba.dynu.net/green/amatuer-cumshots.html
 <a href='http://mamba.dynu.net/door/free-bbw-erotic-story.html'> http://mamba.dynu.net/door/free-bbw-erotic-story.html - free bbw erotic story </a> http://mamba.dynu.net/door/free-bbw-erotic-story.html
 <a href='http://mamba.dynu.net/vatnik/free-blonde-shemale-avi.html'> http://mamba.dynu.net/vatnik/free-blonde-shemale-avi.html - free blonde shemale avi </a> http://mamba.dynu.net/vatnik/free-blonde-shemale-avi.html
 <a href='http://mamba.dynu.net/masterzone/asian-pussy-eating-pictures.html'> http://mamba.dynu.net/masterzone/asian-pussy-eating-pictures.html - asian pussy eating pictures </a> http://mamba.dynu.net/masterzone/asian-pussy-eating-pictures.html
WBR XnPWHSBTcoptgaRfs

Anonymous
Fri 14 May 2004 07:27:31 PM UTC, comment #2: 

Sorry, but I sent you the wrong test case.  The fpackage/Father.java should be:


(define-simple-class <Child> (<fpackage.Father>)
  ((my-method)
   (invoke (this) 'protectedMethod "hello")))



I still see the bug.



Chris Dean <ctdean>
Thu 13 May 2004 09:41:14 PM UTC, comment #1: 

This bug has been fixed in the CVS version.

There is still a different bug - you now get:
ChildSupport.scm:8:1: warning - no accessible method `myMethod' in java.lang.Object
The reason for this is that the 'make' call isn't getting inlined - but that's an related issue.  As a work-around, you can add a cast (call to the as function) or assign the make result to a variable that is declared to be a <Child>.  You still get a run-time call to the make function, but you don't get the warning at least.

Per Bothner <bothner>
Group administrator
Wed 12 May 2004 10:26:42 PM UTC, original submission:  

Child is unable to call protected method in parent class in
different package.  To demonstrate:

javac fpackage/Father.java
java kawa.repl --warn-undefined-variable -C ChildSupport.scm
(compiling ChildSupport.scm)
ChildSupport.scm:12:4: warning - no accessible method `protectedMethod' in Child

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #1306:  protected.patch added by None (987B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-05-13 bothner StatusNone Works For Me
    Open/ClosedOpen Closed
2004-05-12 None Attached File- Added protected.patch, #1298

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code