You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Bernd Fondermann (JIRA)" <se...@james.apache.org> on 2006/07/12 17:07:30 UTC
[jira] Resolved: (POSTAGE-6) Postage compile error under jdk 1.4
[ http://issues.apache.org/jira/browse/POSTAGE-6?page=all ]
Bernd Fondermann resolved POSTAGE-6:
------------------------------------
Resolution: Fixed
IllegalStateException was replaced with RuntimeException
> Postage compile error under jdk 1.4
> -----------------------------------
>
> Key: POSTAGE-6
> URL: http://issues.apache.org/jira/browse/POSTAGE-6
> Project: Postage
> Type: Bug
> Reporter: Vincenzo Gianferrari Pini
> Assignee: Bernd Fondermann
> 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