Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74888 - JMX doesn't compile with JDK 1.5
Summary: JMX doesn't compile with JDK 1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-18 15:22 UTC by Petteri Räty (RETIRED)
Modified: 2004-12-20 09:40 UTC (History)
0 users

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


Attachments
fixed version (jmx-1.2.1-r1.ebuild,1.35 KB, text/plain)
2004-12-18 15:24 UTC, Petteri Räty (RETIRED)
Details
patch (jdk1.5.patch,313 bytes, patch)
2004-12-18 15:25 UTC, Petteri Räty (RETIRED)
Details | Diff
jdk1.5.patch (jdk1.5.patch,314 bytes, patch)
2004-12-18 15:27 UTC, Petteri Räty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2004-12-18 15:22:08 UTC
Buildfile: build.xml

classes:
    [mkdir] Created dir: /var/tmp/portage/jmx-1.2.1/work/jmx-1_2_1-src/build/classes
    [javac] Compiling 203 source files to /var/tmp/portage/jmx-1.2.1/work/jmx-1_2_1-src/build/classes
    [javac] javac: target release 1.2 conflicts with default source release 1.5

BUILD FAILED
/var/tmp/portage/jmx-1.2.1/work/jmx-1_2_1-src/build.xml:49: Compile failed; see the compiler error output for details.


Reproducible: Always
Steps to Reproduce:
1.emerge jmx with jdk 1.5
2.
3.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2004-12-18 15:24:51 UTC
Created attachment 46305 [details]
fixed version

An updated ebuild. I added a patch to change target to 1.4 and add
source="1.4".
source="1.4" and target="1.2" refused to work for some reason.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2004-12-18 15:25:24 UTC
Created attachment 46306 [details, diff]
patch

the diff
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2004-12-18 15:27:12 UTC
Created attachment 46307 [details, diff]
jdk1.5.patch

fixed a typo
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2004-12-18 15:31:43 UTC
    [javac] /var/tmp/portage/jmx-1.2.1-r1/work/jmx-1_2_1-src/src/jmxri/com/sun/jmx/mbeanserver/SecureClassLoaderRepository.java:13: warning: unmappable character for encoding ASCII
    [javac]  * Distribu? par des licences qui en restreignent l'utilisation.

I get these lovely error messages but they shouldn't effect the outcome.
Comment 5 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-12-20 09:40:10 UTC
Added.