Issue 23628 - JDK 1.3.1_02 and clear() vs this.clear()
Summary: JDK 1.3.1_02 and clear() vs this.clear()
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All Linux, all
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: pavel
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-17 14:03 UTC by pavel
Modified: 2004-02-20 11:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2003-12-17 14:03:30 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.
Comment 1 pavel 2003-12-17 15:17:39 UTC
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.
Comment 2 pavel 2003-12-17 17:17:45 UTC
This is for Stephan.

Comment 3 Stephan Bergmann 2003-12-18 08:17:02 UTC
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 ***
Comment 4 Stephan Bergmann 2003-12-18 08:19:03 UTC
.
Comment 5 pavel 2003-12-18 17:05:20 UTC
Fixed in 20031216.

Thanks!
Comment 6 Martin Hollmichel 2004-02-20 11:07:14 UTC
close issue.