This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Patch: gnu.java.nio.SelectionKeyImpl


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I commited the attached patch to make it possible to directly access 
ch from other classes in same package. GCJ didnt found this, BUG.
Jeff Sturm submitted PR12426 for this. This was found by jikes.


Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/dLfdWSOgCCdjSDsRAr4/AJ98Bli3F7ieDWT7LZd/wX05rTtHggCcDtHa
hqfIltC4oylaSkp9ttcTrLs=
=gJCm
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.2195
diff -u -b -B -r1.2195 ChangeLog
--- ChangeLog	26 Sep 2003 20:03:27 -0000	1.2195
+++ ChangeLog	26 Sep 2003 21:58:20 -0000
@@ -1,3 +1,10 @@
+2003-09-27  Michael Koch  <konqueror@gmx.de>
+
+	* gnu/java/nio/SelectionKeyImpl.java
+	(ch): Make package-private again. Jikes found this bug.
+	Jeff Sturm submitted PR12426 for this to bugzilla
+	to fix this bug in gcj.
+
 2003-09-26  Michael Koch  <konqueror@gmx.de>
 
 	* java/rmi/server/RMIClassLoader.java:
Index: gnu/java/nio/SelectionKeyImpl.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/java/nio/SelectionKeyImpl.java,v
retrieving revision 1.5
diff -u -b -B -r1.5 SelectionKeyImpl.java
--- gnu/java/nio/SelectionKeyImpl.java	25 Sep 2003 21:14:43 -0000	1.5
+++ gnu/java/nio/SelectionKeyImpl.java	26 Sep 2003 21:58:20 -0000
@@ -48,7 +48,7 @@
   private int readyOps;
   private int interestOps;
   private SelectorImpl impl;
-  private SelectableChannel ch;
+  SelectableChannel ch;
 
   public SelectionKeyImpl (SelectableChannel ch, SelectorImpl impl)
   {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]