[
https://issues.apache.org/jira/browse/DERBY-3081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kathey Marsden updated DERBY-3081:
----------------------------------
Attachment: javap.out
ac601a400fx0115x38bex8045x0000004554b80.class
I was able to generate the class on Windows I am attaching that class and the
decompiled with javap -private.
If I ftp over to iseries, java -verify yields:
> java -verify org.apache.derby.exe.ac601a400fx0115x38bex8045x0000004554b80
java.lang.VerifyError: org/apache/derby/exe/ac601a400fx0115x38bex8045x0000004
554b80 0000 0000
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Error.<init>(Error.java:49)
at java.lang.VerifyError.<init>(VerifyError.java:34)
I am guessing we are hitting something similar to DERBY-488 where the iseries
JVM is more strict than the other jvms.
Exactly how to determine the offensive code from this point is pretty fuzzy to
me. Any thoughts are greatly appreciated.
> cannot create instance of generated class because of java.lang.VerifyError in
> 4 tests on IBM iseries
> ----------------------------------------------------------------------------------------------------
>
> Key: DERBY-3081
> URL: https://issues.apache.org/jira/browse/DERBY-3081
> Project: Derby
> Issue Type: Bug
> Affects Versions: 10.3.1.4
> Environment: IBM iseries, OS: V5R4M0; both with ibm 142 (build
> 1.4.2_08-b02) and 15 jvm (build 1.5.0_03-b07)
> Reporter: Myrna van Lunteren
> Assignee: Kathey Marsden
> Attachments: ac601a400fx0115x38bex8045x0000004554b80.class, javap.out
>
>
> 4 tests fail to instantiate a generated class:
> 1)
> testTrimCharIsExpr(org.apache.derbyTesting.functionTests.tests.lang.AnsiTrimTest)java.sql.SQLException:
> Cannot create an instance of generated class
> org.apache.derby.exe.ac848c0061x0114xfee3x0ec7x0000636c39840.
> 2)
> testEnglishCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)java.sql.SQLException:
> Cannot create an instance of generated class
> org.apache.derby.exe.aca31ba168x0114xfee3x0ec7x0000636c39842a.
> 3)
> testNorwayCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)java.sql.SQLException:
> Cannot create an instance of generated class
> org.apache.derby.exe.ac066fa8c8x0114xfee3x0ec7x0000636c39842a.
> 4)
> testPolishCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)java.sql.SQLException:
> Nie mo?na utworzy? instancji wygenerowanej klasy
> org.apache.derby.exe.ac86a73025x0114xfee3x0ec7x0000636c39842a.
> All these something like this:
> ------------------------
> Caused by: java.lang.VerifyError:
> org/apache/derby/exe/ac86a73025x0114xfee3x0ec7x0000636c39842a 0000 0000
> at java.lang.Throwable.<init>(Throwable.java:195)
> at java.lang.Error.<init>(Error.java:49)
> at java.lang.VerifyError.<init>(VerifyError.java:34)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at
> org.apache.derby.iapi.services.loader.ClassInfo.getNewInstance(Unknown Source)
> at
> org.apache.derby.impl.services.reflect.LoadedGeneratedClass.newInstance(Unknown
> Source)
> at
> org.apache.derby.impl.services.reflect.ReflectGeneratedClass.newInstance(Unknown
> Source)
> at org.apache.derby.impl.sql.GenericActivationHolder.<init>(Unknown
> Source)
> at
> org.apache.derby.impl.sql.GenericPreparedStatement.getActivation(Unknown
> Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.