weimingtom / j2as3 Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/j2as3
License: Apache License 2.0
Automatically exported from code.google.com/p/j2as3
License: Apache License 2.0
What steps will reproduce the problem?
1. Code an Interface in Java having the Static Variables.
2. Convert it to AS3 using the tool.
3. The Interface variables are there in the AS3 code.
What is the expected output? What do you see instead?
Since AS3 do not support Variables in Interfaces, it should not proceed for the
conversion.
What version of the product are you using? On what operating system?
J2AS3_v4.air on Windows XP
Please provide any additional information below.
It should display the appropriate error while converting. If we develop a big
application and than convert it, it will create issues while running it.
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 12:31
Recognize types ArrayLists and convert using Vector
(http://livedocs.adobe.com/flex/3/langref/Vector.html)
Original issue reported on code.google.com by mslinn
on 11 Mar 2009 at 9:20
What steps will reproduce the problem?
1. In Java source, set int color = 0x77ff77;
2. Compiled AS source says: var color:int = 0x7777;
Expected output is "var color:int = 0x77ff77;" but instead the "ff" part is
removed, and I get "var color:int = 0x7777;"
I'm using J2AS3 v3 on Ubuntu Linux
Original issue reported on code.google.com by [email protected]
on 2 Sep 2009 at 7:16
[deleted issue]
What steps will reproduce the problem?
1. define a function in java as mentioned below:
public int[] getTicOccupied()
{
}
2. convert the code using the j2as3 tool.
3. vied the converted code
What is the expected output? What do you see instead?
The code should be converted as mentioned below:
public function getTicOccupied():Array
{
}
What version of the product are you using? On what operating system?
v 4
windows xp
Please provide any additional information below.
The same issue persist with multi dimensional array
Original issue reported on code.google.com by [email protected]
on 9 Jun 2011 at 5:25
I've been using your program and I needed 2 little features. I made them
and I'd like to contribute them to the project.
1. Store last used paths so I don't have to re-enter them at next start.
2. Make the progress-bar and list really display the progress while working.
In the hope they are useful, here is the patch - see attachment.
Original issue reported on code.google.com by [email protected]
on 23 May 2009 at 3:50
Attachments:
What steps will reproduce the problem?
1. Declare an 2D Array variable in Java using notation int[][] arr.
2. Convert the code using j2as3
3. Look over the converted code
What is the expected output? What do you see instead?
1. The declaration int[][] arr should be converted into var arr:Array.
What version of the product are you using? On what operating system?
v 4
windows xp
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 9 Jun 2011 at 5:22
What steps will reproduce the problem?
1. Creation a Java Class with LONG type.
2. Use the converter j2as3.
3.
What is the expected output? What do you see instead?
The java class has the following line:
private Long id;
The expected output is:
public var id:Number;
The actual output is:
public var id:Long;
The type LONG is not known in AS3 so we get a compilation problem.
What version of the product are you using? On what operating system?
FlashBuilder 4 with SDK 4.1
I use J2AS3_v4.air - downloaded on the 2 Auguest 2011 - with Windows XP.
Please provide any additional information below.
The converter is great and was helpful to me. Thank you.
Original issue reported on code.google.com by [email protected]
on 2 Aug 2011 at 9:20
Java declarations like
int[] xPositions = new int[5];
are converveted to actionscript code
var xPositions:Array= new int[5];
but correct would be
var xPositions:Array= new Array(5);
or I believe this could also work
var xPositions:Array= new int(5);
Also when having a java method that returns an array like
public int [] getXPoints() {
it is translated to
public int [] getXPoints() {
but correct would be
public function getXPoints():Array {
Original issue reported on code.google.com by mslinn
on 8 Mar 2009 at 7:34
What steps will reproduce the problem?
Convert a directory with a java file in it with a string containing an
escaped quote. I've only come across '\'' but I would imagine the string
"\"" would reproduce as well.
What is the expected output? What do you see instead?
I expect it to leave the string unmodified, it is a valid AS3 string.
Instead it hangs indefinitely searching for, I presume, the matching quote.
What version of the product are you using? On what operating system?
SVN checkout on 8/22/09. Vista x86.
Original issue reported on code.google.com by [email protected]
on 24 Aug 2009 at 3:18
What steps will reproduce the problem?
1. override a superclass method in child class.
What is the expected output? What do you see instead?
The overriden method should have the AS3 keyword override in the method
declaration.
Original issue reported on code.google.com by [email protected]
on 12 Nov 2011 at 8:51
What steps will reproduce the problem?
1. Have any inbuilt class method call in Java code.
2. We can have System.out.println("Hello");
3. This was getting converted successfully.
What is the expected output? What do you see instead?
The conversion should display some error while converting in built Java class
method calls.
What version of the product are you using? On what operating system?
J2AS3_v4.air
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 12:33
you should know this. I just downloaded J2AS3_v3.air and double click on it
and it brings up a dialog which says:
---------------------------
Adobe AIR
---------------------------
This application requires a version of the Adobe Integrated Runtime (AIR)
which is no longer supported. Please contact the application author for an
updated version.
---------------------------
OK
---------------------------
then I downloaded AIR 1.5 installation and reinstalled it now it works.
Original issue reported on code.google.com by ozkan.pakdil
on 22 Feb 2009 at 9:17
What steps will reproduce the problem?
1. Test java file with default constructor
package test;
public class DefaultConstructorTest {
DefaultConstructorTest(String arg, String arg2) {
//...
}
}
2. Converted as3
package test {
public class DefaultConstructorTest {
DefaultConstructorTest(var arg:String, var arg2:String) {
//...
}
}
}
3. No need of 'var' in before the arguments.
What is the expected output? What do you see instead?
package test {
public class DefaultConstructorTest {
DefaultConstructorTest(arg:String, arg2:String) {
//...
}
}
}
What version of the product are you using? On what operating system?
1. J2AS3_v3.air
2. OS: Win & MAC OS X
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 29 Oct 2009 at 11:14
What steps will reproduce the problem?
1. Creater a Java DTO file iwth getters/setters.
2. Convert it with j2AS3
3.
What is the expected output? What do you see instead?
The Java File has:
private String line;
public void setLine(String line) {
this.line = line;
}
public String getLine() {
return line;
}
In AS3 we get:
private var line:String;
public function setLine(line:String):void {
this.line = line;
}
public function getLine():String {
return line;
}
In AS3, we should have:
private var _line:String;
public function set line(line:String):void {
this.line = line;
}
public function get line():String {
return line;
}
What version of the product are you using? On what operating system?
I use J2AS3 version 4 downloaded on the 2nd Auguest 2011.
Windows XP with Flex 4.1 SDK
Please provide any additional information below.
Thank you
Original issue reported on code.google.com by [email protected]
on 2 Aug 2011 at 9:33
What steps will reproduce the problem?
1. Annotate a member variable (@Something)
2.
3.
What is the expected output? What do you see instead?
Annotations should not be converted (left out)
Instead: Conversion of the file stopped
What version of the product are you using? On what operating system?
SVN version from 2010-Feb-01
Please provide any additional information below.
Fast fix was to add "@" to the symbols list, so that the annotation is
converted "as is", but the annotation should be left out from AS3 code
Original issue reported on code.google.com by [email protected]
on 1 Feb 2010 at 8:43
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.