You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2007/11/14 22:15:36 UTC

DO NOT REPLY [Bug 43859] New: - �[BUILD] Error when compiling CredentialImpl.java

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43859

           Summary: �[BUILD] Error when compiling CredentialImpl.java
           Product: Lenya
           Version: 2.0
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build System
        AssignedTo: dev@lenya.apache.org
        ReportedBy: michael.trindler@id.unizh.ch


(Windows XP, Lenya SVN Rev. 595021, j2sdk1.4.2_04)

compile-module-org.apache.lenya.modules.ac:
Created dir: <path>\build\lenya\modules\org.apache.lenya.modules.ac\java\classes\api
Compiling 12 source files to
<path>\build\lenya\modules\org.apache.lenya.modules.ac\java\classes\api
<path>\src\modules-core\ac\java\src\org\apache\lenya\ac\impl\CredentialImpl.java:110:
cannot resolve symbol
symbol  : method valueOf (int)
location: class java.lang.Integer
        return Integer.valueOf(getAccreditable().hashCode() +
getRole().hashCode()).hashCode();
                      ^
1 error

BUILD FAILED
<path>\src\targets\webapp-build.xml:174: The following error occurred while
executing this line:
<path>\src\targets\modules-build.xml:74: The following error occurred while
executing this line:
<path>\build\lenya\temp\modules-build.xml:3811: Compile failed; see the compiler
error output for details.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43859] - [Patch] [BUILD] Error when compiling CredentialImpl.java

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43859





------- Additional Comments From s.wagner@akbild.ac.at  2008-02-22 08:16 -------
Sorry, it seems that I have mixed up something. Builds fine with svn 630221.
Thanks for your work.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43859] - [Patch] [BUILD] Error when compiling CredentialImpl.java

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43859





------- Additional Comments From michael.trindler@id.unizh.ch  2007-11-14 14:45 -------
> Will try it on Mac OS / java 1.5.2 too.

Works fine!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43859] - [Patch] [BUILD] Error when compiling CredentialImpl.java

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43859


jonathan.addison@wyona.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|�[BUILD] Error when         |[Patch] [BUILD] Error when
                   |compiling                   |compiling
                   |CredentialImpl.java         |CredentialImpl.java




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43859] - [Patch] [BUILD] Error when compiling CredentialImpl.java

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43859





------- Additional Comments From s.wagner@akbild.ac.at  2008-02-21 08:02 -------
Compiling Lenya from source on Gentoo Linux w/ sun-jdk-1.4.2.16, tomcat-5.5.26
gave me a similar failure:

compile-module-org.apache.lenya.modules.ac:
Created dir:
/usr/local/src/apache-lenya-2.0/build/lenya/modules/org.apache.lenya.modules.ac/java/classes/api
Compiling 12 source files to
/usr/local/src/apache-lenya-2.0/build/lenya/modules/org.apache.lenya.modules.ac/java/classes/api
/usr/local/src/apache-lenya-2.0/src/modules-core/ac/java/src/org/apache/lenya/ac/impl/CredentialImpl.java:110:
cannot resolve symbol
symbol  : method valueOf (int)
location: class java.lang.Integer
        return Integer.valueOf(getAccreditable().hashCode() +
getRole().hashCode()).hashCode();
                      ^
1 error

BUILD FAILED

When using blackdown-jdk, it's the same. No errors, however, when compiling w/
sun-jdk-1.5.0.13 and tomcat-6.0.16, but not surprisingly that build throws a
server exception.

Do you want to reopen the bug or should I file a new one for that?
Thanks.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43859] - [Patch] [BUILD] Error when compiling CredentialImpl.java

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43859


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From andreas@apache.org  2008-01-28 09:20 -------
I applied the patch in revision 615959. Please test. Thanks a lot!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43859] - [Patch] [BUILD] Error when compiling CredentialImpl.java

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43859





------- Additional Comments From michael.trindler@id.unizh.ch  2007-11-14 14:33 -------
Thanks, Jonathan!

Your patch fixed the compilation issue on windows / java 1.4.2 (though I had to
apply the changes manually - the patch file was malformed the way I downloaded it).

Will try it on Mac OS / java 1.5.2 too.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43859] - [Patch] [BUILD] Error when compiling CredentialImpl.java

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43859





------- Additional Comments From rfrovarp@apache.org  2008-02-21 08:32 -------
You're reporting the same issue, which has been reported to be fixed. My guess
is you are using the 2.0.0 release? 2.0.0 came out before this fix was applied.
The upcoming 2.0.1 release will have the fix. The subversion trunk would also
have the fix. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43859] - �[BUILD] Error when compiling CredentialImpl.java

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43859





------- Additional Comments From jonathan.addison@wyona.com  2007-11-14 13:48 -------
Created an attachment (id=21126)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21126&action=view)
fixes hashCode() method for Java 1.4.2

This seems to fix the problem for Java 1.4.2, but I haven't tested with any
other Java versions.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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