commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19756] New: - java.lang.ExceptionInInitializerError thrown by JVMRandom constructor
Date Thu, 08 May 2003 06:47:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19756>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19756

java.lang.ExceptionInInitializerError thrown by JVMRandom constructor

           Summary: java.lang.ExceptionInInitializerError thrown by
                    JVMRandom constructor
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Lang
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: phil@steitz.com


Somehow setSeed is getting called during construction, causing an
UnsupportedOperationException.

Attached patch fixes this as well as errors in nextInt() and nextLong() which
cause them to always return 0 values.

I am also attaching unit tests that show these errors and also cover the other
methods in the RandomUtils class.

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


Mime
View raw message