--
You received this message because you are subscribed to the Google Groups "j2objc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "j2objc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/j2objc-discuss/1zCZYvxBGhY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to j2objc-discus...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discus...@googlegroups.com.
Ever wonder why the Swing team refused to use serialization, and wrote java.beans archiver classes instead? ;-)
On Wed Oct 22 2014 at 11:49:01 AM Andrew Ebling <andrew...@gmail.com> wrote:
Thanks Tom. Compatibility with JRE serialization files is not a problem per se, but compatibility within j2objc between 32 and 64 bit devices is much more of an issue. It's simply interesting that the same problem occurs with serialization files from JRE.
Sent from my iPhone
To unsubscribe from this group and all its topics, send an email to j2objc-discuss+unsubscribe@googlegroups.com.
java.lang.RuntimeException: java.io.InvalidClassException: [I; Incompatible class (SUID): [I: static final long serialVersionUID =-6435596488789528755L; but expected [I: static final long serialVersionUID =5600894804908749477L;
As per your last comment this was resolved with release of 0.9.5. Could you please suggest a way round to tackle the above error or does it need serialization alternative.
Thanks,
Tarun
This should be working with release 0.9.5.
On Wed Oct 22 2014 at 12:05:30 PM Tom Ball <tb...@google.com> wrote:
Ever wonder why the Swing team refused to use serialization, and wrote java.beans archiver classes instead? ;-)
On Wed Oct 22 2014 at 11:49:01 AM Andrew Ebling <andrew...@gmail.com> wrote:
Thanks Tom. Compatibility with JRE serialization files is not a problem per se, but compatibility within j2objc between 32 and 64 bit devices is much more of an issue. It's simply interesting that the same problem occurs with serialization files from JRE.
Sent from my iPhone
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "j2objc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/j2objc-discuss/1zCZYvxBGhY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to j2objc-discus...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "j2objc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discus...@googlegroups.com.
09-29 17:01:58.436: I/System.out(30561): 0x33F63B:rice.p2p.scribe@myScribeInstance:20150929.170158.435:Exception in deserializer in PastryEndpoint ScribeImpl[[SNH: <0x33F63B..>//192.168.1.104:5554]] myScribeInstance -968778621:myScribeInstance rice.p2p.scribe.javaserialized.JavaScribeContentDeserializer@dc5bc0d java.io.InvalidClassException: [I; Incompatible class (SUID): [I: static final long serialVersionUID =-6435596488789528755L; but expected [I: static final long serialVersionUID =5600894804908749477L;
09-29 17:12:34.222: I/System.out(31101): :rice.selector@Default:20150929.171234.221:ERROR (SelectorManager.run): java.lang.RuntimeException: java.io.InvalidClassException: [I; Incompatible class (SUID): [I: static final long serialVersionUID =-6435596488789528755L; but expected [I: static final long serialVersionUID =5600894804908749477L;
Building j2objc annotations
mvn -q generate-resources dependency:sources
building j2objc jar
src/main/java/com/google/devtools/j2objc/util/PackagePrefixes.java:24: error: package org.objectweb.asm does not exist
import org.objectweb.asm.AnnotationVisitor;
^
src/main/java/com/google/devtools/j2objc/util/PackagePrefixes.java:25: error: package org.objectweb.asm does not exist
import org.objectweb.asm.ClassReader;
^
src/main/java/com/google/devtools/j2objc/util/PackagePrefixes.java:26: error: package org.objectweb.asm does not exist
import org.objectweb.asm.ClassVisitor;
^
src/main/java/com/google/devtools/j2objc/util/PackagePrefixes.java:27: error: package org.objectweb.asm does not exist
import org.objectweb.asm.Opcodes;
^
src/main/java/com/google/devtools/j2objc/util/PackagePrefixes.java:185: error: cannot find symbol
ClassReader classReader = new ClassReader(file.getInputStream());
^
symbol: class ClassReader
location: class PackagePrefixes
src/main/java/com/google/devtools/j2objc/util/PackagePrefixes.java:185: error: cannot find symbol
ClassReader classReader = new ClassReader(file.getInputStream());
^
symbol: class ClassReader
location: class PackagePrefixes
src/main/java/com/google/devtools/j2objc/util/PackagePrefixes.java:186: error: cannot find symbol
classReader.accept(new ClassVisitor(Opcodes.ASM5) {
^
symbol: class ClassVisitor
location: class PackagePrefixes
src/main/java/com/google/devtools/j2objc/util/PackagePrefixes.java:186: error: cannot find symbol
classReader.accept(new ClassVisitor(Opcodes.ASM5) {
^
symbol: variable Opcodes
location: class PackagePrefixes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
8 errors
make[1]: *** [/Users/tarun/Downloads/j2objc/translator/build_result/j2objc.jar] Error 1
make: *** [translator] Error 2
Any help would be required!
Regards,
Tarun Gupta
Building j2objc annotations
mvn -q generate-resources dependency:sources
building j2objc jar
Note: src/main/java/com/google/devtools/j2objc/types/AbstractTypeBinding.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Makefile:1380: ../make/static_framework.mk: No such file or directory
make[1]: *** No rule to make target `../make/static_framework.mk'. Stop.
make: *** [jre_emul_jar_dist] Error 2
TARUNs-MacBook-Pro:j2objc tarun$ make dist
Locale:
Darwin TARUNs-MacBook-Pro.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
Xcode 7.0 Build version 7A220
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
Environment:
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.spmHkVSmHt/Render
DISPLAY=/private/tmp/com.apple.launchd.Qdo725mHqd/org.macosforge.xquartz:0
HOME=/Users/tarun
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home
LC_CTYPE=UTF-8
LOGNAME=tarun
M2_HOME=/usr/local/apache-maven-3.3.3
MAKEFLAGS=
MAKELEVEL=1
MFLAGS=
PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/apache-maven-3.3.3/bin
PWD=/Users/tarun/Documents/j2objc
SHELL=/bin/bash
SHLVL=2
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.8RSUP9qv7b/Listeners
TERM=xterm-256color
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=343.7
TERM_SESSION_ID=52C1C6AD-0FA2-4A52-B639-C20FD85AAF64
TMPDIR=/var/folders/y8/f8sqqmkn6sn2t_4tr7vsqzwh0000gn/T/
USER=tarun
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
Makefile:1380: ../make/static_framework.mk: No such file or directory
make[1]: *** No rule to make target `../make/static_framework.mk'. Stop.
make: *** [jre_emul_jar_dist] Error 2
Thanks,
Tarun Gupta
...
...