Skip to content

Commit 10192c4

Browse files
hansonrhansonr
authored andcommitted
JAXB with examples and org.apache.xml.bind support
Very preliminary. Only the Java tests work at this point. Still needs JS marshaller and unmarshaller.
1 parent 574730c commit 10192c4

File tree

156 files changed

+30160
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+30160
-8
lines changed

sources/net.sf.j2s.core/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: Java2Script Core
44
Bundle-SymbolicName: net.sf.j2s.core;singleton:=true
5-
Bundle-Version: 3.2.2
5+
Bundle-Version: 3.2.4
66
Bundle-Activator: net.sf.j2s.core.CorePlugin
77
Bundle-Vendor: j2s.sourceforge.net
88
Require-Bundle: org.eclipse.core.runtime,
2.14 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20180926065607
1+
20180928065911
3.78 MB
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20180927214151
3.78 MB
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20180928065911

sources/net.sf.j2s.core/doc/Differences.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Notes
22
=====
33

4+
update 9/29/2018 -- 3.2.4 adds support for JAXB, changes default for ResourceBundle.getBundle
45
update 9/23/2018 -- 3.2.3 adds support for direct use of java.awt.* components and java.applet.Applet
56
-- no need for switching to a2s.*
67
update 7/14/2018 -- 3.2.1 removes Java2ScriptJavaBuilder; uses CompilationParticipant instead
@@ -303,6 +304,8 @@ LookAndFeel
303304
toString() may need to be explicit
304305
myClass.getField not implemented
305306
"window" and other reserved JavaScript names
307+
ResourceBundle.getBundle
308+
306309

307310
MAJOR ISSUES--for Bob and Udo within SwingJS
308311
============================================
@@ -548,6 +551,17 @@ No reserved top-level JavaScript name is allowed for a package name. So, for exa
548551
one must rename packages such as "window" or "document" to names such as "win" or "doc".
549552

550553

554+
ResourceBundle.getBundle
555+
------------------------
556+
557+
java.util.ResourceBundle(String) default is Control.FORMAT_DEFAULT, which
558+
first checks for a Java class, then a properties file. This causes problems
559+
as missing class files is a major failure case. The default in SwingJS is
560+
FORMAT_PROPERTIES meaning that the default is NOT to look for a class file.
561+
It is felt that the developer should know which of these it is, and if it is
562+
a class file, then the ResourceBundle call should specify that.
563+
564+
551565
MAJOR ISSUES--for Bob and Udo within SwingJS
552566
============================================
553567

0 commit comments

Comments
 (0)