Hi

This patch changes the constructor visibility of 
gnu.java.lang.InstrumentationImpl from private to default (package). I think 
private is too strong for e.g. java based JVMs like Jikes RVM where package 
access would allow for direct instantiation of the InstrumentationImpl 
instance instead of reflection.

Please comment/apply (this is a one-liner so it should be ok while I wait for 
the copyright paperwork to go through).

 - elias

2006-10-04  Chistian Elias Naur  <[EMAIL PROTECTED]>
        * gnu/java/lang/InstrumentationImpl.java:
        Made constructor package visible.

Index: gnu/java/lang/InstrumentationImpl.java
===================================================================
RCS file: /sources/classpath/classpath/gnu/java/lang/InstrumentationImpl.java,v
retrieving revision 1.2
diff -u -r1.2 InstrumentationImpl.java
--- gnu/java/lang/InstrumentationImpl.java	17 Apr 2006 11:12:03 -0000	1.2
+++ gnu/java/lang/InstrumentationImpl.java	4 Oct 2006 11:25:41 -0000
@@ -67,7 +67,7 @@
   private ArrayList transformers = new ArrayList();
 
   
-  private InstrumentationImpl()
+  InstrumentationImpl()
   {
   }
 

Reply via email to