From: Alexander Bokovoy <a.bokovoy@sam-solutions.net> To: devel@altlinux.ru Subject: [devel] Q: gcj and j2me Date: Mon, 3 Nov 2003 16:59:30 +0200 Message-ID: <20031103145930.GD9919@sam-solutions.net> (raw) Greetings! Вопрос к тем, кто имеет дело с Java и GNU Java Compiler. Понадобилось поднять J2ME на XScale и оказалось, что для его сборки нужен JDK, которого там (архитектура armv5l), как оказалось, нет. В результате был предпринят обходной маневр -- в качестве JDK используется GNU Java Compiler. И все, вроде бы хорошо, да вот незадача: ../../src/share/classes/java/lang/Class.java:60: Duplicate variable declaration: `ClassLoader loader' was ` null loader' (<built-in>:0). private ClassLoader loader; /* For GC purposes only! */ ^ ../../src/share/classes/java/io/ByteArrayOutputStream.java:151: warning: Discouraged form of returned type specification. public synchronized byte toByteArray()[] { ^ ../../src/share/classes/sun/misc/CharacterDecoder.java:170: warning: Discouraged form of returned type specification. public byte decodeBuffer(String inputString)[] throws IOException { ^ ../../src/share/classes/sun/misc/CharacterDecoder.java:185: warning: Discouraged form of returned type specification. public byte decodeBuffer(InputStream in)[] throws IOException { ^ 1 error, 3 warnings Три замечания неважны, важен Duplicate variable declaration, возникающий из-за того, что в gcj не удается совсем отключить libgcj (встроенную библиотеку классов). Вот в этом и вопрос -- как этого добиться? Ведь в данном случае я собираю стандартную библиотеку классов и виртуальную машину J2ME и потому этот ClassLoader должен быть определен именно в ../../src/share/classes/java/lang/Class.java, а не в <built-in>:0. -- / Alexander Bokovoy Samba Team http://www.samba.org/ ALT Linux Team http://www.altlinux.org/ Midgard Project Ry http://www.midgard-project.org/
next reply other threads:[~2003-11-03 14:59 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-11-03 14:59 Alexander Bokovoy [this message] 2003-11-03 21:30 ` Ivan Zakharyaschev 2003-11-04 11:49 ` Alexander Bokovoy 2003-11-04 18:17 ` Alexander Bokovoy 2003-11-07 16:25 ` Vitaly Lugovsky 2003-11-07 23:09 ` Alexander Bokovoy
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20031103145930.GD9919@sam-solutions.net \ --to=a.bokovoy@sam-solutions.net \ --cc=devel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git