To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=41296
                  Issue #:|41296
                  Summary:|Wizard project contains java methods > jdk 1.3.1
                Component:|Installation
                  Version:|680m73
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|bc
              Reported by:|bc





------- Additional comments from [EMAIL PROTECTED] Tue Jan 25 08:02:29 -0800 
2005 -------
The following methods in the wizards project are not compliant to jdk 1.3.1:

common\Helper.java:294: getTimeInMillis() has protected access in 
java.util.Calendar
            docNullTime = calendar.getTimeInMillis();
common\Helper.java:322: getTimeInMillis() has protected access in 
java.util.Calendar
            long date1 = calendar.getTimeInMillis();
common\Helper.java:339: setTimeInMillis(long) has protected access in java.util.
Calendar
            calendar.setTimeInMillis( javaTimeInMillis ) ;
common\Helper.java:341: getTimeInMillis() has protected access in java.util.Cale
ndar
            long date1 = calendar.getTimeInMillis();
                                 ^
common\JavaTools.java:360: decode(java.lang.String) in java.net.URLDecoder canno
t be applied to (java.lang.String,java.lang.String)
                        URLPath = URLDecoder.decode(URLPath, "UTF-8");
                                            ^
common\JavaTools.java:371: setTimeInMillis(long) has protected access in java.ut
il.Calendar
                cal.setTimeInMillis(timeMillis);
                   ^
common\JavaTools.java:387: getTimeInMillis() has protected access in java.util.C
alendar
                return cal.getTimeInMillis();
                          ^
common\Configuration.java:145: valueOf(java.lang.String) in java.lang.Boolean ca
nnot be applied to (boolean)
                set(Boolean.valueOf(value), name, parent);
                           ^
ui\event\AbstractListener.java:122: cannot resolve symbol

These occurrences have to be replaced by other compatible calls. I had a
discussion with sb about the Url conversion issue and he advised to make use of
the  service "com.sun.star.uri.udk,translatetoexternal/translatetointernal
methods to convert to and from JavaUrl notation. The other occurrences should be
fixable by the class set  that jdk1.3 offers

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to