Closed Bug 271143 Opened 20 years ago Closed 20 years ago

Java SDK doesn't compile on Java 1.5

Categories

(Directory :: LDAP Java SDK, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rjkeller, Assigned: rjkeller)

Details

Attachments

(1 file)

There are some reserved words in Java 1.5 that are used as variable names in the
Directory SDK. This needs to be fixed or else it won't build on Java 1.5.

Attaching patch...
Attachment #166712 - Flags: review?(mcs)
Comment on attachment 166712 [details] [diff] [review]
Patch - vars can't use reserved words

Looks fine to me.  I also added EY to the CC so he can take a look.
Attachment #166712 - Flags: review?(mcs) → review+
What's the policy for checkin to directory?
Status: NEW → ASSIGNED
For the LDAP JDK code, I think it is OK to commit with one review and a sanity
check by a module owner.  E-Y, is the LDAP JDK currently bundled with any
Mozilla product?
(In reply to comment #4)
> For the LDAP JDK code, I think it is OK to commit with one review and a sanity
> check by a module owner.  E-Y, is the LDAP JDK currently bundled with any
> Mozilla product?

I know that C++ Directory is shipped with Mozilla. I would really doubt Java SDK
would be shipped with any Mozilla products but I could be wrong. I actually made
this patch when attempting to get Grendel working with Java 1.5.

Obviously I tested this patch with Java 1.5. I couldn't think of it breaking any
other version of Java.
This change looks good.
Can one of you guys check this in for me? I lost my CVS SSH key and am still
waiting for them to register my new key (it's been a month :(, hopefully someone
will find me). I also couldn't find nobody on IRC to check this in for me.
Fix checked in. Got CVS working.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: