Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145341 - swt-3.2-r1 introduced depend on =jdk-1.4
Summary: swt-3.2-r1 introduced depend on =jdk-1.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-28 05:13 UTC by Chris Bainbridge (RETIRED)
Modified: 2006-09-14 11:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bainbridge (RETIRED) gentoo-dev 2006-08-28 05:13:27 UTC
The -r1 revision removed >=virtual/jdk-1.4 and added =virtual/jdk-1.4*. There is nothing in the ChangeLog as to why this was done. Given that -r0 compiled fine with jdk-1.5 I expect that -r1 should as well, so unless there is a good reason the depend should be reverted back to >=1.4.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-08-28 05:41:35 UTC
-r0 wasn't generation-2 so compiling that with 1.5 would result in 1.5 bytecode - a way to break java packages depending on it :) It was never expected to be used with 1.5.
But I agree that -r1 compiles fine with sun-jdk-1.5 and if it inherited java-ant-2, it would get build.xml rewritten to ensure 1.4 bytecode. There used to be a migrated -r1 ebuild in java-migrated-overlay which was doing that and worked fine.
Comment 2 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-08-28 10:41:05 UTC
Upstream uses 1.4, and to prevent any issues from cropping up, I set the depend to =1.4*.  SWT is fairly complex, and some of the bugs are rather subtle.  Until upstream switches to 1.5, Im keeping the depend on 1.4.
Comment 3 Chris Bainbridge (RETIRED) gentoo-dev 2006-08-28 15:08:09 UTC
swt-3.2 for gtk supports embedding swing and awt components *only* under a 1.5 jdk. Eclipse (developed by the same upstream as swt) supports all features of J2SE 5.0 since eclipse-3.1m4. Upstream developers are definately using and testing against the 1.5 JDKs already.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2006-09-02 11:04:11 UTC
(In reply to comment #3)
> swt-3.2 for gtk supports embedding swing and awt components *only* under a 1.5
> jdk. Eclipse (developed by the same upstream as swt) supports all features of
> J2SE 5.0 since eclipse-3.1m4. Upstream developers are definately using and
> testing against the 1.5 JDKs already.
> 

Reopening for re-evalution.
Comment 5 Josh Nichols (RETIRED) gentoo-dev 2006-09-14 11:22:23 UTC
Fixed in CVS.