[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]