james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincenzo Gianferrari Pini (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (JAMES-564) Postage compile error under jdk 1.4
Date Wed, 12 Jul 2006 14:11:29 GMT
Postage compile error under jdk 1.4
-----------------------------------

         Key: JAMES-564
         URL: http://issues.apache.org/jira/browse/JAMES-564
     Project: James
        Type: Bug

    Reporter: Vincenzo Gianferrari Pini
    Priority: Minor


Compiling Postage under jdk 1.4 I'm getting a "cannot resolve symbol" compile error:

build:
     [echo] Compiling James Postage
    [javac] Compiling 29 source files to E:\JamesSVN\postage-trunk\build\classes
    [javac] E:\JamesSVN\postage-trunk\build\source\org\apache\james\postage\jmx\JVMResourceSampler.java:68:
cannot resolve symbol
    [javac] symbol  : constructor IllegalStateException (java.lang.String,java.lang.Exception)
    [javac] location: class java.lang.IllegalStateException
    [javac]             throw new IllegalStateException("could not create JVMResourceSamplerWorker",
e);
    [javac]                   ^
    [javac] E:\JamesSVN\postage-trunk\build\source\org\apache\james\postage\jmx\JVMResourceSampler.java:76:
cannot resolve symbol
    [javac] symbol  : constructor IllegalStateException (java.lang.String,java.lang.NoSuchMethodException)
    [javac] location: class java.lang.IllegalStateException
    [javac]             throw new IllegalStateException("could not access delegation methods",
e);
    [javac]                   ^
    [javac] 2 errors

It happens because the
public IllegalStateException(String message, Throwable cause)

is available only in jdk 1.5


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message