--- a/JavaResolver.st Wed Jan 23 12:31:33 2013 +0000
+++ b/JavaResolver.st Wed Jan 23 16:22:00 2013 +0000
@@ -143,16 +143,19 @@
public but was changed to be non-public after D was compiled.
If steps 1 and 2 succeed but step 3 fails, C is still valid and usable. Nevertheless, resolution
- fails, and D is prohibited from accessing C." "JV@2011-08-10: HACK FOR SAXON DEMO!!!!!!" "(self checkPermissionsFrom: aJavaClassRef owner to: result)" "JV@2011-12-07: HACK FOR TOMCAT DEMO :-))"
- (self checkPermissionsFrom: aJavaClassRef owner to: result) ifTrue: [
- ^ result
- ] ifFalse: [ self throwIllegalAccessError ].
+ fails, and D is prohibited from accessing C."
+
+ (self checkPermissionsFrom: aJavaClassRef owner to: result) ifFalse: [
+ self throwIllegalAccessError.
+ ^nil.
+ ].
+ ^result
"Created: / 11-04-2011 / 19:07:19 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
"Created: / 12-08-2011 / 22:19:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified (comment): / 03-10-2011 / 23:03:01 / m"
- "Modified: / 22-08-2012 / 13:02:15 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 01-12-2012 / 13:44:54 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
+ "Modified: / 23-01-2013 / 15:29:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!JavaResolver methodsFor:'class resolving helpers'!
@@ -625,4 +628,5 @@
^ '§Id§'
! !
+
JavaResolver initialize!