You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jk...@locus.apache.org on 2000/09/28 17:49:23 UTC
cvs commit: xml-xalan/java/src/synthetic/reflection Constructor.java
jkesselm 00/09/28 08:49:21
Modified: java/src/synthetic Class.java TestDriver.java
java/src/synthetic/reflection Constructor.java
Log:
Fix references to old packagename
Revision Changes Path
1.3 +3 -3 xml-xalan/java/src/synthetic/Class.java
Index: Class.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/synthetic/Class.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Class.java 2000/09/27 19:54:47 1.2
+++ Class.java 2000/09/28 15:49:16 1.3
@@ -123,8 +123,8 @@
/** Actual Java class object. When present, all interactions
are redirected to it. Allows our Class to function as a
wrapper for the Java version (in lieu of subclassing or
- a shared Interface), and allows BSC or similar
- compilation to replace a generated description with an
+ a shared Interface), and allows "in-place compilation"
+ to replace a generated description with an
directly runnable class.
*/
private java.lang.Class realclass = null;
@@ -1286,7 +1286,7 @@
* to be switched from purely descriptive mode to proxy mode
* ("reified").
* The primary intent is to allow a synthetic.Class to be
- * "compiled in place", eg by BSC.
+ * "compiled in place"
* <p>
* This should have the side-effect of limiting further mutation
* of the synthetic.Class to things which can not be obtained
1.3 +5 -11 xml-xalan/java/src/synthetic/TestDriver.java
Index: TestDriver.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/synthetic/TestDriver.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TestDriver.java 2000/09/27 19:54:47 1.2
+++ TestDriver.java 2000/09/28 15:49:16 1.3
@@ -55,20 +55,15 @@
* <http://www.apache.org/>.
*/
-/** Test driver for com.ibm.synthetic
+/** Test driver for synthetic.Class and synthetic.reflection.*
<p>
- DEVELOPMENT NOTES:
- Defer construction of reified data. Probably don't need
- it all, and it builds up a significant-sized tree.
-
toSource should probably be factored out into a separate
- java generator class, sharing an API with a BSC generator
- class.
+ java generator class, so we could generate other languages as well.
*/
-package com.ibm.synthetic;
-import com.ibm.synthetic.Class;
-import com.ibm.synthetic.reflection.*;
+package synthetic;
+import synthetic.Class;
+import synthetic.reflection.*;
public class TestDriver
{
@@ -131,7 +126,6 @@
System.out.println("\tgetRealClass(): "+C.getRealClass());
}
- /* Test for something we plan to do in BSC */
public void quickcheck()
{
Inner a=new Inner();
1.3 +2 -10 xml-xalan/java/src/synthetic/reflection/Constructor.java
Index: Constructor.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/synthetic/reflection/Constructor.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Constructor.java 2000/09/27 19:54:49 1.2
+++ Constructor.java 2000/09/28 15:49:20 1.3
@@ -83,19 +83,11 @@
Actual Java class object. When present, all interactions
are redirected to it. Allows our Class to function as a
wrapper for the Java version (in lieu of subclassing or
- a shared Interface), and allows BSC or similar
- compilation to replace a generated description with an
+ a shared Interface), and allows "in-place compilation"
+ to replace a generated description with an
directly runnable class.
*/
private synthetic.Class declaringclass = null;
- /**
- Actual Java class object. When present, all interactions
- are redirected to it. Allows our Class to function as a
- wrapper for the Java version (in lieu of subclassing or
- a shared Interface), and allows BSC or similar
- compilation to replace a generated description with an
- directly runnable class.
- */
private java.lang.reflect.Constructor realconstructor = null;
private synthetic.Class[] parametertypes;