Apache OpenOffice (AOO) Bugzilla – Issue 23628
JDK 1.3.1_02 and clear() vs this.clear()
Last modified: 2004-02-20 11:07:14 UTC
cws_src680_ooo20031216 SuSE Linux 8.0 java version "1.3.1_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02) Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode) javac -classpath ".:../../../../../unxlngi4.pro/class:/usr/lib/java/jre/lib/rt.jar:.:/home/oo/BuildDir/ooo_cws_src680_ooo20031216_src/solver/680/unxlngi4.pro/bin/sandbox.jar:/home/oo/BuildDir/ooo_cws_src680_ooo20031216_src/solver/680/unxlngi4.pro/bin/ridl.jar" -d ../../../../../unxlngi4.pro/class DisposeListener.java DisposeNotifier.java IInvokeHook.java IInvokable.java NativeLibraryLoader.java StringHelper.java WeakMap.java WeakMap.java:328: clear() is inherited from java.lang.ref.Reference and hides method in outer class com.sun.star.lib.util.WeakMap. An explicit 'this' qualifier must be used to select the desired instance. clear(); ^ 1 error dmake: Error code 1, while making '../../../../../unxlngi4.pro/misc/com_sun_star_lib_util_dummy.java' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /home/oo/BuildDir/ooo_cws_src680_ooo20031216_src/jurt/com/sun/star/lib/util adding this. before clear fixed it. I cannot test with never versions of JDK.
As Kevin pointed out, Stephan Bergmann already takes care about it: http://www.openoffice.org/servlets/ReadMsg?list=releases&msgId=928689 But this is still not solved in cws_src680_ooo20031216.
This is for Stephan.
Same as 22337 (SRC680 CWS jl2). Feel free to apply the fix (jurt/com/sun/star/lib/util/WeakMap.java 1.2.4.1) to whichever CWS you need it on. *** This issue has been marked as a duplicate of 22337 ***
.
Fixed in 20031216. Thanks!
close issue.