Opened 18 years ago
Closed 18 years ago
#567 closed enhancement (fixed)
jdk6 (1.6.0) compatibility
Reported by: | base | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | critical | Milestone: | BASE 2.4 |
Component: | core | Version: | |
Keywords: | Cc: |
Description
We were compiling the source with jdk1.6.0 with no problems up to BASE 2.2.1 then one error and one warning appeared in 2.2.2. I fixed them, but you'll want to have a closer look. I'm not very happy with the findConstructor() fix, and don't know Java and reflection well enough to do a proper job.
Diffs attached
(VectorBase Bob)
Attachments (2)
Change History (9)
by , 18 years ago
Attachment: | ClassUtil.java.diff added |
---|
comment:1 by , 18 years ago
Component: | web → core |
---|---|
Owner: | changed from | to
Thanks for the diffs. Strange though that it worked before 2.2.2. The affected code in the files have not changed for more than a year ago. I guess it is something outside of BASE that has changed.
comment:2 by , 18 years ago
Hi Nicklas.
Your comments prompted me to look again at my installation notes... Ignore some of my initial comments. It looks like I failed to compile 2.2.1 with jdk 1.6.0, and reverted to 1.5.0 (and I think it then deployed ok on tomcat running under 1.6.0). My notes are not clear about what worked/didn't work for 2.1.x
The fix seems ok so far (I just clicked through from experiment to labelled extract on the web client) but I'll keep testing. Of course it may not compile under 1.5.0 now - I haven't tested that.
Hope you don't mind FYIs like this in your Trac system. Let me know if the dev mailing list is a better venue.
cheers, Bob.
comment:3 by , 18 years ago
Milestone: | → BASE 2.4 |
---|
Not at all. It is good to have them in the Trac so we don't loose the information. It's even better when there are code fixes as well :)
comment:5 by , 18 years ago
Priority: | minor → critical |
---|
comment:6 by , 18 years ago
Status: | new → assigned |
---|
ClassUtil.java diff