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 "Vincenzo Gianferrari Pini (JIRA)" <se...@james.apache.org> on 2006/07/12 16:11:29 UTC
[jira] Created: (JAMES-564) Postage compile error under jdk 1.4
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
Re: [jira] Created: (JAMES-564) Postage compile error under jdk 1.4
Posted by Stefano Bagnara <ap...@bago.org>.
We created a POSTAGE JIRA project few days ago. I moved this to the new
project.
Stefano
Vincenzo Gianferrari Pini (JIRA) wrote:
> 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:
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Assigned: (POSTAGE-6) Postage compile error under jdk 1.4
Posted by "Bernd Fondermann (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/POSTAGE-6?page=all ]
Bernd Fondermann reassigned POSTAGE-6:
--------------------------------------
Assign To: Bernd Fondermann
> 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
[jira] Resolved: (POSTAGE-6) Postage compile error under jdk 1.4
Posted by "Bernd Fondermann (JIRA)" <se...@james.apache.org>.
[ 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