You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(97) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(127) |
Feb
(34) |
Mar
(16) |
Apr
(26) |
May
(55) |
Jun
(107) |
Jul
(36) |
Aug
(72) |
Sep
(90) |
Oct
(41) |
Nov
(27) |
Dec
(13) |
| 2008 |
Jan
(37) |
Feb
(39) |
Mar
(98) |
Apr
(115) |
May
(134) |
Jun
(120) |
Jul
(86) |
Aug
(149) |
Sep
(68) |
Oct
(66) |
Nov
(104) |
Dec
(49) |
| 2009 |
Jan
(131) |
Feb
(132) |
Mar
(125) |
Apr
(172) |
May
(161) |
Jun
(43) |
Jul
(47) |
Aug
(38) |
Sep
(18) |
Oct
(6) |
Nov
(1) |
Dec
(15) |
| 2010 |
Jan
(21) |
Feb
(8) |
Mar
(10) |
Apr
(4) |
May
(9) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(4) |
| 2011 |
Jan
(23) |
Feb
(10) |
Mar
(13) |
Apr
(3) |
May
|
Jun
(19) |
Jul
(11) |
Aug
(22) |
Sep
|
Oct
(4) |
Nov
(2) |
Dec
(12) |
| 2012 |
Jan
(3) |
Feb
(4) |
Mar
(7) |
Apr
(3) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(30) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
(8) |
| 2013 |
Jan
(3) |
Feb
(40) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(12) |
Dec
|
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
|
From: <ls...@us...> - 2007-07-01 09:03:39
|
Revision: 3344
http://jnode.svn.sourceforge.net/jnode/?rev=3344&view=rev
Author: lsantha
Date: 2007-07-01 02:03:38 -0700 (Sun, 01 Jul 2007)
Log Message:
-----------
Show expressions by default.
Modified Paths:
--------------
trunk/shell/src/shell/org/jnode/shell/command/bsh/BshCommand.java
Modified: trunk/shell/src/shell/org/jnode/shell/command/bsh/BshCommand.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/command/bsh/BshCommand.java 2007-07-01 08:46:54 UTC (rev 3343)
+++ trunk/shell/src/shell/org/jnode/shell/command/bsh/BshCommand.java 2007-07-01 09:03:38 UTC (rev 3344)
@@ -107,10 +107,15 @@
bsh.run();
}
- private static Interpreter createInterpreter(InputStream in, OutputStream out, OutputStream err, boolean interactive){
- return new Interpreter(
+ private static Interpreter createInterpreter(InputStream in, OutputStream out, OutputStream err, boolean interactive)
+ throws Exception{
+ Interpreter interpreter = new Interpreter(
new BufferedReader(new InputStreamReader(in)),
new PrintStream(out),
new PrintStream(err), interactive);
+ if(interactive){
+ interpreter.eval("show();");
+ }
+ return interpreter;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-07-01 08:46:56
|
Revision: 3343
http://jnode.svn.sourceforge.net/jnode/?rev=3343&view=rev
Author: lsantha
Date: 2007-07-01 01:46:54 -0700 (Sun, 01 Jul 2007)
Log Message:
-----------
Initial version of a JNode installer prototype.
Modified Paths:
--------------
trunk/distr/src/install/org/jnode/install/Main.java
Added Paths:
-----------
trunk/distr/src/install/org/jnode/install/AbstractInstaller.java
trunk/distr/src/install/org/jnode/install/ActionInput.java
trunk/distr/src/install/org/jnode/install/ActionOutput.java
trunk/distr/src/install/org/jnode/install/CopyFile.java
trunk/distr/src/install/org/jnode/install/InputContext.java
trunk/distr/src/install/org/jnode/install/InstallerAction.java
trunk/distr/src/install/org/jnode/install/OutputContext.java
trunk/distr/src/install/org/jnode/install/ProgressAware.java
trunk/distr/src/install/org/jnode/install/ProgressEvent.java
trunk/distr/src/install/org/jnode/install/ProgressListener.java
trunk/distr/src/install/org/jnode/install/ProgressSupport.java
trunk/distr/src/install/org/jnode/install/ProgressiveAction.java
trunk/distr/src/install/org/jnode/install/action/
trunk/distr/src/install/org/jnode/install/action/ActionConstants.java
trunk/distr/src/install/org/jnode/install/action/CopyFilesAction.java
trunk/distr/src/install/org/jnode/install/action/GrubInstallerAction.java
trunk/distr/src/install/org/jnode/install/cmdline/
trunk/distr/src/install/org/jnode/install/cmdline/CommandLineInstaller.java
Added: trunk/distr/src/install/org/jnode/install/AbstractInstaller.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/AbstractInstaller.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/AbstractInstaller.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,72 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+import java.util.ArrayList;
+import java.util.ListIterator;
+import java.util.List;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public abstract class AbstractInstaller {
+ public static enum Step {back, forth, quit}
+ protected List<InstallerAction> actionList = new ArrayList<InstallerAction>();
+
+ public void start(){
+ InputContext in = getInputContext();
+ OutputContext out = getOutputContext();
+ if(actionList.isEmpty())
+ return;
+
+ ListIterator<InstallerAction> lit = actionList.listIterator();
+ InstallerAction action = lit.next();
+
+ out: while(true){
+ ActionInput input = action.getInput(in);
+ if(input != null){
+ Step step = input.collect();
+ if(step != null && step.equals(Step.quit))
+ break;
+ }
+
+ try {
+ action.execute();
+ } catch(Exception e){
+ e.printStackTrace();
+ break;
+ }
+
+ ActionOutput output = action.getOutput(out);
+ if(output != null){
+ Step step = output.show();
+ if(step == null) step = Step.forth;
+ switch(step){
+ case back:
+ if(lit.hasPrevious())
+ action = lit.previous();
+ else
+ break out;
+ break;
+ case forth:
+ if(lit.hasNext())
+ action = lit.next();
+ else
+ break out;
+ break;
+ case quit:
+ break out;
+ }
+ } else {
+ if(lit.hasNext())
+ action = lit.next();
+ else
+ break;
+ }
+ }
+ }
+
+ protected abstract InputContext getInputContext();
+ protected abstract OutputContext getOutputContext();
+}
Added: trunk/distr/src/install/org/jnode/install/ActionInput.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/ActionInput.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/ActionInput.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,11 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public interface ActionInput {
+ AbstractInstaller.Step collect();
+}
Added: trunk/distr/src/install/org/jnode/install/ActionOutput.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/ActionOutput.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/ActionOutput.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,11 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public interface ActionOutput {
+ AbstractInstaller.Step show();
+}
Added: trunk/distr/src/install/org/jnode/install/CopyFile.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/CopyFile.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/CopyFile.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,62 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+import java.io.*;
+
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public class CopyFile implements ProgressAware {
+ private ProgressSupport progress = new ProgressSupport();
+ private boolean progessAware;
+ private File source;
+ private File destination;
+
+ public CopyFile(boolean progessAware) {
+ this.progessAware = progessAware;
+ }
+
+ public void setSource(File source) {
+ this.source = source;
+ }
+
+ public void setDestination(File destination) {
+ this.destination = destination;
+ }
+
+ public void execute() throws Exception {
+ try {
+ if(source == null ||destination == null)
+ throw new RuntimeException("Source or destination is null.");
+
+ long length = source.length();
+ byte[] buf = new byte[128 * 1024];
+ FileInputStream fis = new FileInputStream(source);
+ FileOutputStream fos = new FileOutputStream(destination);
+ int count;
+ long status = 0;
+ while((count = fis.read(buf)) > -1 ){
+ fos.write(buf, 0, count);
+ if(progessAware){
+ status += count;
+ int val = (int)(100L * status / length);
+ progress.fireProgressEvent(new ProgressEvent(val));
+ }
+ }
+ fis.close();
+ fos.flush();
+ fos.close();
+ } catch(FileNotFoundException x){
+ x.printStackTrace();
+ } catch(IOException x){
+ x.printStackTrace();
+ }
+ }
+
+ public void addProgressListener(ProgressListener p) {
+ progress.addProgressListener(p);
+ }
+}
Added: trunk/distr/src/install/org/jnode/install/InputContext.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/InputContext.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/InputContext.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,21 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+import java.util.HashMap;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public abstract class InputContext {
+ private HashMap<String, Object> values = new HashMap<String, Object>();
+ public abstract String getStringInput(String message);
+ public void setStringValue(String key, String value){
+ values.put(key, value);
+ }
+
+ public String getStringValue(String key){
+ return (String) values.get(key);
+ }
+}
Added: trunk/distr/src/install/org/jnode/install/InstallerAction.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/InstallerAction.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/InstallerAction.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,13 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public interface InstallerAction {
+ ActionInput getInput(InputContext inContext);
+ void execute() throws Exception;
+ ActionOutput getOutput(OutputContext outContext);
+}
Modified: trunk/distr/src/install/org/jnode/install/Main.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/Main.java 2007-07-01 08:45:32 UTC (rev 3342)
+++ trunk/distr/src/install/org/jnode/install/Main.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -21,6 +21,7 @@
package org.jnode.install;
+import org.jnode.install.cmdline.CommandLineInstaller;
/**
* Main class for the JNode installer.
@@ -30,9 +31,10 @@
public class Main implements Runnable {
public void run() {
- System.out.println("Installing JNode");
-
- System.out.println("Done");
+ System.out.println("JNode Installation");
+ CommandLineInstaller.main();
+ System.out.println("JNode installation completed.");
+ /*
while (true) {
try {
Thread.sleep(100000);
@@ -40,5 +42,10 @@
// Ignore
}
}
+ */
}
+
+ public static void main(String[] argv){
+ new Main().run();
+ }
}
Added: trunk/distr/src/install/org/jnode/install/OutputContext.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/OutputContext.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/OutputContext.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,11 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public interface OutputContext {
+ public void showMessage(String msg);
+}
Added: trunk/distr/src/install/org/jnode/install/ProgressAware.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/ProgressAware.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/ProgressAware.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,11 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public interface ProgressAware {
+ void addProgressListener(ProgressListener p);
+}
Added: trunk/distr/src/install/org/jnode/install/ProgressEvent.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/ProgressEvent.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/ProgressEvent.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,20 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public class ProgressEvent {
+ private int progress;
+
+ public ProgressEvent(int progress) {
+ this.progress = progress;
+ }
+
+
+ public int getProgress() {
+ return progress;
+ }
+}
Added: trunk/distr/src/install/org/jnode/install/ProgressListener.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/ProgressListener.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/ProgressListener.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,11 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public interface ProgressListener {
+ void progress(ProgressEvent e);
+}
Added: trunk/distr/src/install/org/jnode/install/ProgressSupport.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/ProgressSupport.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/ProgressSupport.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,28 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+import java.util.List;
+import java.util.ArrayList;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public class ProgressSupport implements ProgressAware{
+ List<ProgressListener> listenerList = new ArrayList<ProgressListener>();
+
+ public void addProgressListener(ProgressListener listener) {
+ listenerList.add(listener);
+ }
+
+ void fireProgressEvent(ProgressEvent e){
+ for(ProgressListener listener : listenerList){
+ try {
+ listener.progress(e);
+ } catch(Exception x){
+ x.printStackTrace();
+ }
+ }
+ }
+}
Added: trunk/distr/src/install/org/jnode/install/ProgressiveAction.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/ProgressiveAction.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/ProgressiveAction.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,12 @@
+/*
+ * $Id$
+ */
+package org.jnode.install;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public interface ProgressiveAction extends InstallerAction, ProgressAware {
+
+}
+
Added: trunk/distr/src/install/org/jnode/install/action/ActionConstants.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/action/ActionConstants.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/action/ActionConstants.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,11 @@
+/*
+ * $Id$
+ */
+package org.jnode.install.action;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public interface ActionConstants {
+ String INSTALL_ROOT_DIR = "INSTALL_ROOT_DIR";
+}
Added: trunk/distr/src/install/org/jnode/install/action/CopyFilesAction.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/action/CopyFilesAction.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/action/CopyFilesAction.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,60 @@
+/*
+ * $Id$
+ */
+package org.jnode.install.action;
+
+import org.jnode.install.InstallerAction;
+import org.jnode.install.ActionInput;
+import org.jnode.install.CopyFile;
+import org.jnode.install.ProgressListener;
+import org.jnode.install.ProgressEvent;
+import org.jnode.install.ActionOutput;
+import org.jnode.install.InputContext;
+import org.jnode.install.OutputContext;
+import org.jnode.install.AbstractInstaller;
+import java.io.File;
+
+/**
+ * @author Levente S\xE1ntha
+*/
+public class CopyFilesAction implements InstallerAction {
+ private String targetDirectory;
+ public ActionInput getInput(final InputContext inContext) {
+ return new ActionInput() {
+ public AbstractInstaller.Step collect() {
+ targetDirectory = inContext.getStringValue(ActionConstants.INSTALL_ROOT_DIR);
+ return AbstractInstaller.Step.forth;
+ }
+ };
+ }
+
+ public void execute() throws Exception {
+ System.out.println("Installing jnode32.gz ...");
+ CopyFile cf = new CopyFile(true);
+ cf.setSource(new File("/devices/sg0/jnode32.gz"));
+ cf.setDestination(new File(targetDirectory + "jnode32.gz"));
+ cf.addProgressListener(new ProgressListener() {
+ public void progress(ProgressEvent e) {
+ System.out.print('.');
+ }
+ });
+ cf.execute();
+ System.out.println("Done.");
+
+ System.out.println("Installing full.jgz ...");
+ cf = new CopyFile(true);
+ cf.setSource(new File("/devices/sg0/full.jgz"));
+ cf.setDestination(new File(targetDirectory + "full.jgz"));
+ cf.addProgressListener(new ProgressListener() {
+ public void progress(ProgressEvent e) {
+ System.out.print('.');
+ }
+ });
+ cf.execute();
+ System.out.println("Done.");
+ }
+
+ public ActionOutput getOutput(OutputContext outContext) {
+ return null;
+ }
+}
Added: trunk/distr/src/install/org/jnode/install/action/GrubInstallerAction.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/action/GrubInstallerAction.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/action/GrubInstallerAction.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,44 @@
+/*
+ * $Id$
+ */
+package org.jnode.install.action;
+
+import org.jnode.install.InstallerAction;
+import org.jnode.install.ActionInput;
+import org.jnode.install.ActionOutput;
+import org.jnode.install.OutputContext;
+import org.jnode.install.InputContext;
+import org.jnode.install.AbstractInstaller;
+import org.jnode.fs.jfat.command.JGrubInstallCommand;
+
+/**
+ * @author Levente S\xE1ntha
+*/
+public class GrubInstallerAction implements InstallerAction {
+ private String disk;
+ private String partition;
+ private String targetDirectory;
+ public ActionInput getInput(final InputContext inContext) {
+ return new ActionInput() {
+ public AbstractInstaller.Step collect() {
+ try {
+ disk = inContext.getStringInput("Enter the installation disk device name: ");
+ partition = inContext.getStringInput("Enter the partition number: ");
+ targetDirectory = "/devices/" + disk + partition + "/";
+ inContext.setStringValue(ActionConstants.INSTALL_ROOT_DIR, targetDirectory);
+ return AbstractInstaller.Step.forth;
+ } catch(Exception e){
+ return AbstractInstaller.Step.back;
+ }
+ }
+ };
+ }
+
+ public void execute() throws Exception {
+ JGrubInstallCommand.main(disk,"-p", partition, targetDirectory);
+ }
+
+ public ActionOutput getOutput(OutputContext outContext) {
+ return null;
+ }
+}
Added: trunk/distr/src/install/org/jnode/install/cmdline/CommandLineInstaller.java
===================================================================
--- trunk/distr/src/install/org/jnode/install/cmdline/CommandLineInstaller.java (rev 0)
+++ trunk/distr/src/install/org/jnode/install/cmdline/CommandLineInstaller.java 2007-07-01 08:46:54 UTC (rev 3343)
@@ -0,0 +1,50 @@
+/*
+ * $Id$
+ */
+package org.jnode.install.cmdline;
+
+import org.jnode.install.*;
+import org.jnode.install.action.*;
+import java.io.BufferedReader;
+import java.io.InputStreamReader;
+import java.io.IOException;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+public class CommandLineInstaller extends AbstractInstaller {
+
+ public CommandLineInstaller() {
+ //grub
+ actionList.add(new GrubInstallerAction());
+ //files
+ actionList.add(new CopyFilesAction());
+ }
+
+ public static void main(String...argv){
+ new CommandLineInstaller().start();
+ }
+
+
+ protected InputContext getInputContext() {
+ return new InputContext() {
+ private BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
+ public String getStringInput(String message) {
+ try {
+ System.out.println(message);
+ return in.readLine();
+ }catch(IOException e){
+ throw new RuntimeException(e);
+ }
+ }
+ };
+ }
+
+ protected OutputContext getOutputContext() {
+ return new OutputContext() {
+ public void showMessage(String msg) {
+ System.out.println(msg);
+ }
+ };
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-07-01 08:45:38
|
Revision: 3342
http://jnode.svn.sourceforge.net/jnode/?rev=3342&view=rev
Author: lsantha
Date: 2007-07-01 01:45:32 -0700 (Sun, 01 Jul 2007)
Log Message:
-----------
Added system properties required by javac.
Modified Paths:
--------------
trunk/core/src/core/org/jnode/vm/VmSystem.java
Modified: trunk/core/src/core/org/jnode/vm/VmSystem.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/VmSystem.java 2007-07-01 08:43:37 UTC (rev 3341)
+++ trunk/core/src/core/org/jnode/vm/VmSystem.java 2007-07-01 08:45:32 UTC (rev 3342)
@@ -266,6 +266,11 @@
res.put("gnu.javax.swing.noGraphics2D", "true");
// keep this property until transparency support works fine with all drivers
res.put("org.jnode.awt.transparency", "true");
+
+ //internal classpath for javac
+ res.put("java.endorsed.dirs", "/jifs/lib/");
+ res.put("sun.boot.class.path", ":");
+
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-07-01 08:43:38
|
Revision: 3341
http://jnode.svn.sourceforge.net/jnode/?rev=3341&view=rev
Author: lsantha
Date: 2007-07-01 01:43:37 -0700 (Sun, 01 Jul 2007)
Log Message:
-----------
Added required plugins.
Modified Paths:
--------------
trunk/all/conf/install-plugin-list.xml
Modified: trunk/all/conf/install-plugin-list.xml
===================================================================
--- trunk/all/conf/install-plugin-list.xml 2007-07-01 08:42:28 UTC (rev 3340)
+++ trunk/all/conf/install-plugin-list.xml 2007-07-01 08:43:37 UTC (rev 3341)
@@ -70,6 +70,9 @@
<plugin id="org.jnode.partitions"/>
<plugin id="org.jnode.partitions.ibm"/>
+ <plugin id="org.jnode.shell.help"/>
+ <plugin id="org.jnode.fs.jfat"/>
+ <plugin id="org.jnode.fs.jfat.command"/>
<plugin id="org.jnode.install"/>
<plugin id="org.jnode.log4j"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-07-01 08:42:33
|
Revision: 3340
http://jnode.svn.sourceforge.net/jnode/?rev=3340&view=rev
Author: lsantha
Date: 2007-07-01 01:42:28 -0700 (Sun, 01 Jul 2007)
Log Message:
-----------
Added javac and installer plugins.
Modified Paths:
--------------
trunk/all/conf/full-plugin-list.xml
Modified: trunk/all/conf/full-plugin-list.xml
===================================================================
--- trunk/all/conf/full-plugin-list.xml 2007-07-01 08:27:54 UTC (rev 3339)
+++ trunk/all/conf/full-plugin-list.xml 2007-07-01 08:42:28 UTC (rev 3340)
@@ -7,6 +7,12 @@
<include file="default-plugin-list.xml"/>
+ <plugin id="sun.tools"/>
+ <plugin id="javax.ext.tools"/>
+ <plugin id="com.sun.tools.javac"/>
+
+ <plugin id="org.jnode.install"/>
+
<plugin id="charva"/>
<plugin id="org.jnode.apps.edit"/>
<plugin id="org.jnode.apps.editor"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-07-01 08:27:57
|
Revision: 3339
http://jnode.svn.sourceforge.net/jnode/?rev=3339&view=rev
Author: lsantha
Date: 2007-07-01 01:27:54 -0700 (Sun, 01 Jul 2007)
Log Message:
-----------
Added missing permissions.
Modified Paths:
--------------
trunk/core/descriptors/com.sun.tools.javac.xml
Modified: trunk/core/descriptors/com.sun.tools.javac.xml
===================================================================
--- trunk/core/descriptors/com.sun.tools.javac.xml 2007-06-30 13:33:24 UTC (rev 3338)
+++ trunk/core/descriptors/com.sun.tools.javac.xml 2007-07-01 08:27:54 UTC (rev 3339)
@@ -50,11 +50,16 @@
</extension>
<extension point="org.jnode.security.permissions">
+ <permission class="java.lang.RuntimePermission" name="exitVM"/>
+ <permission class="java.io.FilePermission" name="<<ALL FILES>>" actions="read,write"/>
+ <permission class="java.util.PropertyPermission" name="<<ALL FILES>>" actions="read,write"/>
+ <permission class="java.util.PropertyPermission" name="*" actions="read"/>
+
+
<permission class="java.lang.RuntimePermission" name="getProtectionDomain"/>
<permission class="java.lang.RuntimePermission" name="createClassLoader"/>
<permission class="java.lang.RuntimePermission" name="setContextClassLoader"/>
<permission class="java.lang.RuntimePermission" name="modifyThreadGroup"/>
- <permission class="java.io.FilePermission" name="<<ALL FILES>>" actions="read,write"/>
<permission class="org.jnode.security.JNodePermission" name="getVmThread"/>
<permission class="org.jnode.security.JNodePermission" name="getVmClass"/>
<permission class="java.net.SocketPermission" name="*" actions="resolve"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-30 13:33:27
|
Revision: 3338
http://jnode.svn.sourceforge.net/jnode/?rev=3338&view=rev
Author: lsantha
Date: 2007-06-30 06:33:24 -0700 (Sat, 30 Jun 2007)
Log Message:
-----------
Support for sun.misc.Unsafe .
Modified Paths:
--------------
trunk/core/src/openjdk/vm/sun/misc/NativeUnsafe.java
Added Paths:
-----------
trunk/core/src/openjdk/vm/sun/misc/UnsafeHelper.java
Modified: trunk/core/src/openjdk/vm/sun/misc/NativeUnsafe.java
===================================================================
--- trunk/core/src/openjdk/vm/sun/misc/NativeUnsafe.java 2007-06-30 11:58:44 UTC (rev 3337)
+++ trunk/core/src/openjdk/vm/sun/misc/NativeUnsafe.java 2007-06-30 13:33:24 UTC (rev 3338)
@@ -5,6 +5,8 @@
import java.lang.reflect.Field;
import java.security.ProtectionDomain;
+import org.vmmagic.unboxed.ObjectReference;
+import org.vmmagic.unboxed.Address;
/**
* @author Levente S\xE1ntha
@@ -175,7 +177,7 @@
}
public static long objectFieldOffset(Unsafe instance, Field f) {
- throw new UnsupportedOperationException();
+ return UnsafeHelper.objectFieldOffset(f);
}
public static Object staticFieldBase(Unsafe instance, Field f) {
@@ -235,23 +237,41 @@
throw new UnsupportedOperationException();
}
-
- public static final boolean compareAndSwapObject(Unsafe instance, Object o, long offset,
- Object expected,
- Object x) {
- throw new UnsupportedOperationException();
+ public static boolean compareAndSwapObject(Unsafe instance, Object o, long offset,
+ Object expected, Object x) {
+ //todo make sure it's atomic
+ final Address address = ObjectReference.fromObject(o).toAddress().add((int) offset);
+ if(address.loadObjectReference().toObject() == expected){
+ address.store(ObjectReference.fromObject(x));
+ return true;
+ } else {
+ return false;
+ }
}
- public static final boolean compareAndSwapInt(Unsafe instance, Object o, long offset,
- int expected,
- int x) {
- throw new UnsupportedOperationException();
+ public static boolean compareAndSwapInt(Unsafe instance, Object o, long offset,
+ int expected, int x) {
+ //todo make sure it's atomic
+ final Address address = ObjectReference.fromObject(o).toAddress().add((int) offset);
+ if(address.loadInt() == expected){
+ address.store(x);
+ return true;
+ } else {
+ return false;
+ }
}
public static final boolean compareAndSwapLong(Unsafe instance, Object o, long offset,
long expected,
long x) {
- throw new UnsupportedOperationException();
+ //todo make sure it's atomic
+ final Address address = ObjectReference.fromObject(o).toAddress().add((int) offset);
+ if(address.loadLong() == expected){
+ address.store(x);
+ return true;
+ } else {
+ return false;
+ }
}
public static Object getObjectVolatile(Unsafe instance, Object o, long offset) {
Added: trunk/core/src/openjdk/vm/sun/misc/UnsafeHelper.java
===================================================================
--- trunk/core/src/openjdk/vm/sun/misc/UnsafeHelper.java (rev 0)
+++ trunk/core/src/openjdk/vm/sun/misc/UnsafeHelper.java 2007-06-30 13:33:24 UTC (rev 3338)
@@ -0,0 +1,24 @@
+/*
+ * $Id$
+ */
+package sun.misc;
+
+import java.lang.reflect.Field;
+import org.jnode.vm.classmgr.VmInstanceField;
+import org.vmmagic.unboxed.ObjectReference;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+class UnsafeHelper {
+ private static final int OFFSET_OF_vmField_IN_Field =
+ ((VmInstanceField) Field.class.getVmClass().getField("vmField")).getOffset();
+ private static final int OFFSET_OF_offset_IN_VmInstanceField =
+ ((VmInstanceField) VmInstanceField.class.getVmClass().getField("offset")).getOffset();
+
+ static long objectFieldOffset(Field f) {
+ return ObjectReference.fromObject(f).toAddress().
+ add(OFFSET_OF_vmField_IN_Field).loadAddress().
+ add(OFFSET_OF_offset_IN_VmInstanceField).loadInt();
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fd...@us...> - 2007-06-30 11:58:47
|
Revision: 3337
http://jnode.svn.sourceforge.net/jnode/?rev=3337&view=rev
Author: fduminy
Date: 2007-06-30 04:58:44 -0700 (Sat, 30 Jun 2007)
Log Message:
-----------
integration of OpenJDK: added binding with VM for new File APIs (jdk 1.6)
Modified Paths:
--------------
trunk/fs/src/fs/org/jnode/fs/FSAccessRights.java
trunk/fs/src/fs/org/jnode/fs/FSEntry.java
trunk/fs/src/fs/org/jnode/fs/FileSystem.java
trunk/fs/src/fs/org/jnode/fs/ext2/Ext2FileSystem.java
trunk/fs/src/fs/org/jnode/fs/fat/FatBasicDirEntry.java
trunk/fs/src/fs/org/jnode/fs/fat/FatDirEntry.java
trunk/fs/src/fs/org/jnode/fs/fat/FatFileSystem.java
trunk/fs/src/fs/org/jnode/fs/ftpfs/FTPFileSystem.java
trunk/fs/src/fs/org/jnode/fs/iso9660/ISO9660FileSystem.java
trunk/fs/src/fs/org/jnode/fs/jarfs/JarFileSystem.java
trunk/fs/src/fs/org/jnode/fs/jfat/FatEntry.java
trunk/fs/src/fs/org/jnode/fs/jfat/FatFileSystem.java
trunk/fs/src/fs/org/jnode/fs/jifs/ExtFSEntry.java
trunk/fs/src/fs/org/jnode/fs/jifs/JIFileSystem.java
trunk/fs/src/fs/org/jnode/fs/ntfs/NTFSFileSystem.java
trunk/fs/src/fs/org/jnode/fs/service/def/FileSystemAPIImpl.java
trunk/fs/src/fs/org/jnode/fs/service/def/VirtualFS.java
trunk/fs/src/fs/org/jnode/fs/smbfs/SMBFileSystem.java
trunk/fs/src/fs/org/jnode/fs/spi/AbstractFSEntry.java
Added Paths:
-----------
trunk/fs/src/fs/org/jnode/fs/spi/UnixFSAccessRights.java
Removed Paths:
-------------
trunk/fs/src/fs/org/jnode/fs/ext2/Ext2AccessRights.java
Modified: trunk/fs/src/fs/org/jnode/fs/FSAccessRights.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/FSAccessRights.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/FSAccessRights.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -38,4 +38,15 @@
public Principal getOwner()
throws IOException;
+ public boolean canRead();
+
+ public boolean canWrite();
+
+ public boolean canExecute();
+
+ public boolean setReadable(boolean enable, boolean owneronly);
+
+ public boolean setWritable(boolean enable, boolean owneronly);
+
+ public boolean setExecutable(boolean enable, boolean owneronly);
}
Modified: trunk/fs/src/fs/org/jnode/fs/FSEntry.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/FSEntry.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/FSEntry.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -103,5 +103,5 @@
* @return true if the entry need to be saved
* @throws IOException
*/
- public boolean isDirty() throws IOException;
+ public boolean isDirty() throws IOException;
}
Modified: trunk/fs/src/fs/org/jnode/fs/FileSystem.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/FileSystem.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/FileSystem.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -59,4 +59,10 @@
* Is this filesystem closed.
*/
public boolean isClosed();
+
+ public long getTotalSpace();
+
+ public long getFreeSpace();
+
+ public long getUsableSpace();
}
Deleted: trunk/fs/src/fs/org/jnode/fs/ext2/Ext2AccessRights.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/ext2/Ext2AccessRights.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/ext2/Ext2AccessRights.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -1,55 +0,0 @@
-/*
- * $Id$
- *
- * JNode.org
- * Copyright (C) 2003-2006 JNode.org
- *
- * This library is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; If not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-package org.jnode.fs.ext2;
-
-import java.security.Principal;
-
-import org.jnode.fs.FSAccessRights;
-import org.jnode.fs.FileSystem;
-
-/**
- * @author Andras Nagy
- */
-public class Ext2AccessRights implements FSAccessRights {
-
- /**
- * @see org.jnode.fs.FSAccessRights#getOwner()
- */
- public Principal getOwner() {
- return null;
- }
-
- /**
- * @see org.jnode.fs.FSObject#isValid()
- */
- public boolean isValid() {
- return false;
- }
-
- /**
- * @see org.jnode.fs.FSObject#getFileSystem()
- */
- public FileSystem getFileSystem() {
- return null;
- }
-
-}
Modified: trunk/fs/src/fs/org/jnode/fs/ext2/Ext2FileSystem.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/ext2/Ext2FileSystem.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/ext2/Ext2FileSystem.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -986,4 +986,19 @@
protected synchronized INodeCache getInodeCache() {
return inodeCache;
}
+
+ public long getFreeSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getTotalSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getUsableSpace() {
+ // TODO implement me
+ return 0;
+ }
}
Modified: trunk/fs/src/fs/org/jnode/fs/fat/FatBasicDirEntry.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/fat/FatBasicDirEntry.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/fat/FatBasicDirEntry.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -21,6 +21,10 @@
package org.jnode.fs.fat;
+import java.io.IOException;
+
+import org.jnode.fs.FSAccessRights;
+
/**
* @author gbin
*/
@@ -40,5 +44,4 @@
public void write(byte[] dest, int offset) {
System.arraycopy(rawData, 0, dest, offset, 32);
}
-
}
Modified: trunk/fs/src/fs/org/jnode/fs/fat/FatDirEntry.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/fat/FatDirEntry.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/fat/FatDirEntry.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -28,6 +28,7 @@
import org.jnode.fs.FSDirectory;
import org.jnode.fs.FSEntry;
import org.jnode.fs.FSFile;
+import org.jnode.fs.spi.UnixFSAccessRights;
import org.jnode.fs.util.DosUtils;
import org.jnode.util.LittleEndian;
import org.jnode.util.NumberUtils;
@@ -58,6 +59,9 @@
/** Directory this entry is a part of */
private final AbstractDirectory parent;
+ /** access rights of the entry */
+ private final FSAccessRights rights;
+
public static FatBasicDirEntry fatDirEntryFactory(AbstractDirectory dir, byte[] src, int offset) {
int flags = LittleEndian.getUInt8(src, offset + 0x0b);
boolean r = (flags & F_READONLY) != 0;
@@ -98,6 +102,7 @@
this.flags = F_ARCHIVE;
this.lastModified = System.currentTimeMillis();
this._dirty = false;
+ this.rights = new UnixFSAccessRights(getFileSystem());
}
/**
@@ -135,6 +140,7 @@
this.startCluster = LittleEndian.getUInt16(src, offset + 0x1a);
this.length = LittleEndian.getUInt32(src, offset + 0x1c);
this._dirty = false;
+ this.rights = new UnixFSAccessRights(getFileSystem());
}
/**
@@ -511,6 +517,7 @@
public FSDirectory getParent() {
return parent;
}
+
/**
* Gets the accessrights for this entry.
@@ -518,6 +525,6 @@
* @throws IOException
*/
public FSAccessRights getAccessRights() throws IOException {
- throw new IOException("Not implemented yet");
- }
+ return rights;
+ }
}
Modified: trunk/fs/src/fs/org/jnode/fs/fat/FatFileSystem.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/fat/FatFileSystem.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/fat/FatFileSystem.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -196,4 +196,20 @@
// TODO Auto-generated method stub
return null;
}
+
+
+ public long getFreeSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getTotalSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getUsableSpace() {
+ // TODO implement me
+ return 0;
+ }
}
Modified: trunk/fs/src/fs/org/jnode/fs/ftpfs/FTPFileSystem.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/ftpfs/FTPFileSystem.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/ftpfs/FTPFileSystem.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -153,4 +153,20 @@
public boolean isReadOnly() {
return true;
}
+
+
+ public long getFreeSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getTotalSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getUsableSpace() {
+ // TODO implement me
+ return 0;
+ }
}
Modified: trunk/fs/src/fs/org/jnode/fs/iso9660/ISO9660FileSystem.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/iso9660/ISO9660FileSystem.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/iso9660/ISO9660FileSystem.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -107,4 +107,20 @@
// TODO Auto-generated method stub
return null;
}
+
+
+ public long getFreeSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getTotalSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getUsableSpace() {
+ // TODO implement me
+ return 0;
+ }
}
Modified: trunk/fs/src/fs/org/jnode/fs/jarfs/JarFileSystem.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/jarfs/JarFileSystem.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/jarfs/JarFileSystem.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -80,4 +80,20 @@
protected FSEntry createRootEntry() {
return rootEntry;
}
+
+
+ public long getFreeSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getTotalSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getUsableSpace() {
+ // TODO implement me
+ return 0;
+ }
}
Modified: trunk/fs/src/fs/org/jnode/fs/jfat/FatEntry.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/jfat/FatEntry.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/jfat/FatEntry.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -204,12 +204,16 @@
throw new UnsupportedOperationException ( "getFile" );
}
+ /**
+ * Gets the accessrights for this entry.
+ *
+ * @throws IOException
+ */
+ public FSAccessRights getAccessRights() throws IOException {
+ throw new IOException("Not implemented yet");
+ }
- public FSAccessRights getAccessRights() {
- throw new UnsupportedOperationException ( "getAccessRights" );
- }
-
public String getPath() {
StringBuilder path = new StringBuilder ( 1024 );
FatDirectory parent = (FatDirectory)getParent();
Modified: trunk/fs/src/fs/org/jnode/fs/jfat/FatFileSystem.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/jfat/FatFileSystem.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/jfat/FatFileSystem.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -114,4 +114,19 @@
return out.toString();
}
+
+ public long getFreeSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getTotalSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getUsableSpace() {
+ // TODO implement me
+ return 0;
+ }
}
Modified: trunk/fs/src/fs/org/jnode/fs/jifs/ExtFSEntry.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/jifs/ExtFSEntry.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/jifs/ExtFSEntry.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -23,13 +23,13 @@
import org.jnode.fs.FSEntry;
import org.jnode.fs.FSDirectory;
+import org.jnode.fs.spi.UnixFSAccessRights;
/**
* @author Andreas H\u00e4nel
*/
public interface ExtFSEntry extends FSEntry {
-
public void setParent(FSDirectory parent);
}
Modified: trunk/fs/src/fs/org/jnode/fs/jifs/JIFileSystem.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/jifs/JIFileSystem.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/jifs/JIFileSystem.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -117,4 +117,21 @@
protected FSEntry createRootEntry() throws IOException {
return null;
}
+
+
+ public long getFreeSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getTotalSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getUsableSpace() {
+ // TODO implement me
+ return 0;
+ }
+
}
Modified: trunk/fs/src/fs/org/jnode/fs/ntfs/NTFSFileSystem.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/ntfs/NTFSFileSystem.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/ntfs/NTFSFileSystem.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -103,4 +103,20 @@
// TODO Auto-generated method stub
return null;
}
+
+
+ public long getFreeSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getTotalSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getUsableSpace() {
+ // TODO implement me
+ return 0;
+ }
}
Modified: trunk/fs/src/fs/org/jnode/fs/service/def/FileSystemAPIImpl.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/service/def/FileSystemAPIImpl.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/service/def/FileSystemAPIImpl.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -99,9 +99,9 @@
*
* @param file
*/
- public boolean canRead(String file) {
- // TODO implement me
- return true;
+ public boolean canRead(String file) throws IOException {
+ final FSEntry entry = getEntry(file);
+ return (entry != null) && (entry.getAccessRights().canRead());
}
/**
@@ -109,12 +109,44 @@
*
* @param file
*/
- public boolean canWrite(String file) {
- // TODO implement me
- return false;
+ public boolean canWrite(String file) throws IOException {
+ final FSEntry entry = getEntry(file);
+ return (entry != null) && (entry.getAccessRights().canWrite());
}
/**
+ * Can the given file be executed to?
+ *
+ * @param file
+ */
+ public boolean canExecute(String file) throws IOException {
+ final FSEntry entry = getEntry(file);
+ return (entry != null) && (entry.getAccessRights().canExecute());
+ }
+
+
+ public boolean setReadable(String file, boolean enable,
+ boolean owneronly) throws IOException
+ {
+ final FSEntry entry = getEntry(file);
+ return (entry != null) && (entry.getAccessRights().setReadable(enable, owneronly));
+ }
+
+ public boolean setWritable(String file, boolean enable,
+ boolean owneronly) throws IOException
+ {
+ final FSEntry entry = getEntry(file);
+ return (entry != null) && (entry.getAccessRights().setWritable(enable, owneronly));
+ }
+
+ public boolean setExecutable(String file, boolean enable,
+ boolean owneronly) throws IOException
+ {
+ final FSEntry entry = getEntry(file);
+ return (entry != null) && (entry.getAccessRights().setExecutable(enable, owneronly));
+ }
+
+ /**
* Gets the length in bytes of the given file or 0 if the file does not
* exist.
*
@@ -180,8 +212,9 @@
* @throws IOException
*/
public void setReadOnly(String file) throws IOException {
- throw new IOException("Not implemented yet");
- // TODO implement me
+ setReadable(file, true, true);
+ setWritable(file, false, true);
+ setExecutable(file, false, true);
}
/**
@@ -274,14 +307,13 @@
} catch (IOException ex) {
// Not found
log.debug("parent.getEntry failed", ex);
- ex.printStackTrace();
return null;
}
} else {
return null;
}
} catch (IOException e) {
- log.debug("Filesystem.getRootEntry failed", e);
+ log.debug("Filesystem.getEntry failed", e);
return null;
}
@@ -404,7 +436,7 @@
*
* @param file
* absolute path
- * @return the directory entry, null if not exite or not a directory
+ * @return the directory entry, null if not exist or not a directory
* @throws IOException
*/
private FSDirectory getParentDirectoryEntry(String file) throws IOException {
@@ -463,4 +495,38 @@
return (idx >= 0) ? path.substring(idx + 1) : path;
}
}
+
+ public long getTotalSpace(String path) throws IOException
+ {
+ final FSEntry entry = getEntry(path);
+ long length = 0L;
+ if(entry != null)
+ {
+ length = entry.getFileSystem().getTotalSpace();
+ }
+ return length;
+ }
+
+ public long getFreeSpace(String path) throws IOException
+ {
+ final FSEntry entry = getEntry(path);
+ long length = 0L;
+ if(entry != null)
+ {
+ length = entry.getFileSystem().getFreeSpace();
+ }
+ return length;
+ }
+
+ public long getUsableSpace(String path) throws IOException
+ {
+ final FSEntry entry = getEntry(path);
+ long length = 0L;
+ if(entry != null)
+ {
+ length = entry.getFileSystem().getUsableSpace();
+ }
+ return length;
+ }
+
}
Modified: trunk/fs/src/fs/org/jnode/fs/service/def/VirtualFS.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/service/def/VirtualFS.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/service/def/VirtualFS.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -92,4 +92,20 @@
final void unregisterFileSystem(Device dev) {
root.unregisterFileSystem(dev);
}
+
+
+ public long getFreeSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getTotalSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getUsableSpace() {
+ // TODO implement me
+ return 0;
+ }
}
Modified: trunk/fs/src/fs/org/jnode/fs/smbfs/SMBFileSystem.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/smbfs/SMBFileSystem.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/smbfs/SMBFileSystem.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -91,4 +91,19 @@
public boolean isReadOnly() {
return true;
}
+
+ public long getFreeSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getTotalSpace() {
+ // TODO implement me
+ return 0;
+ }
+
+ public long getUsableSpace() {
+ // TODO implement me
+ return 0;
+ }
}
Modified: trunk/fs/src/fs/org/jnode/fs/spi/AbstractFSEntry.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/spi/AbstractFSEntry.java 2007-06-30 11:56:19 UTC (rev 3336)
+++ trunk/fs/src/fs/org/jnode/fs/spi/AbstractFSEntry.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -64,7 +64,7 @@
private long lastModified;
/** access rights of the entry */
- private FSAccessRights rights;
+ final private FSAccessRights rights;
/** Parent directory of the entry */
private FSDirectory parent; // parent is null for a root
@@ -104,7 +104,7 @@
this.table = table;
this.lastModified = System.currentTimeMillis();
this.parent = parent;
- //TODO : this.rights = ???????;
+ this.rights = new UnixFSAccessRights(fs);
}
/**
Added: trunk/fs/src/fs/org/jnode/fs/spi/UnixFSAccessRights.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/spi/UnixFSAccessRights.java (rev 0)
+++ trunk/fs/src/fs/org/jnode/fs/spi/UnixFSAccessRights.java 2007-06-30 11:58:44 UTC (rev 3337)
@@ -0,0 +1,178 @@
+package org.jnode.fs.spi;
+
+import java.io.IOException;
+import java.security.Principal;
+import java.security.acl.Group;
+import java.util.BitSet;
+
+import org.jnode.fs.FSAccessRights;
+import org.jnode.fs.FileSystem;
+
+import sun.security.acl.GroupImpl;
+
+import com.sun.security.auth.UserPrincipal;
+
+/**
+ *
+ * @author Fabien DUMINY (fduminy at jnode.org)
+ *
+ */
+public class UnixFSAccessRights implements FSAccessRights
+{
+ final private FileSystem filesystem;
+
+ private Principal owner;
+ private Group group;
+
+ final private Rights ownerRights = new Rights(true, true, true);
+ final private Rights groupRights = new Rights();
+ final private Rights worldRights = new Rights();
+
+
+ public UnixFSAccessRights(FileSystem filesystem)
+ {
+ if(filesystem == null)
+ {
+ throw new NullPointerException("filesystem can't be null");
+ }
+ this.filesystem = filesystem;
+
+ // TODO manages users & groups in JNode
+ owner = new UserPrincipal("root");
+ group = new GroupImpl("admins");
+ group.addMember(owner);
+ }
+
+ private Principal getUser()
+ {
+ // TODO manages users & groups in JNode
+ // we should find the user from the context
+ return owner;
+ }
+
+ private Rights getUserRights()
+ {
+ Principal user = getUser();
+
+ Rights rights = worldRights;
+ if(owner.equals(user))
+ {
+ rights = ownerRights;
+ }
+ else if(group.isMember(user))
+ {
+ rights = groupRights;
+ }
+
+ return rights;
+ }
+
+ public boolean canExecute() {
+ return getUserRights().isExecute();
+ }
+
+ public boolean canRead() {
+ return getUserRights().isRead();
+ }
+
+ public boolean canWrite() {
+ return getUserRights().isWrite();
+ }
+
+ public Principal getOwner() {
+ return owner;
+ }
+
+ public boolean setExecutable(boolean enable, boolean owneronly)
+ {
+ if(!owner.equals(getUser()))
+ {
+ return false;
+ }
+
+ ownerRights.setExecute(enable);
+ if(!owneronly)
+ {
+ groupRights.setExecute(enable);
+ worldRights.setExecute(enable);
+ }
+ return true;
+ }
+
+ public boolean setReadable(boolean enable, boolean owneronly)
+ {
+ if(!owner.equals(getUser()))
+ {
+ return false;
+ }
+
+ ownerRights.setRead(enable);
+ if(!owneronly)
+ {
+ groupRights.setRead(enable);
+ worldRights.setRead(enable);
+ }
+ return true;
+ }
+
+ public boolean setWritable(boolean enable, boolean owneronly)
+ {
+ if(!owner.equals(getUser()))
+ {
+ return false;
+ }
+
+ ownerRights.setWrite(enable);
+ if(!owneronly)
+ {
+ groupRights.setWrite(enable);
+ worldRights.setWrite(enable);
+ }
+ return true;
+ }
+
+ public FileSystem getFileSystem() {
+ return filesystem;
+ }
+
+ public boolean isValid() {
+ return true;
+ }
+
+ private static class Rights
+ {
+ private boolean read = false;
+ private boolean write = false;
+ private boolean execute = false;
+
+ public Rights()
+ {
+ this(false, false, false);
+ }
+
+ public Rights(boolean read, boolean write, boolean execute) {
+ this.read = read;
+ this.write = write;
+ this.execute = execute;
+ }
+
+ public boolean isRead() {
+ return read;
+ }
+ public void setRead(boolean read) {
+ this.read = read;
+ }
+ public boolean isWrite() {
+ return write;
+ }
+ public void setWrite(boolean write) {
+ this.write = write;
+ }
+ public boolean isExecute() {
+ return execute;
+ }
+ public void setExecute(boolean execute) {
+ this.execute = execute;
+ }
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fd...@us...> - 2007-06-30 11:56:20
|
Revision: 3336
http://jnode.svn.sourceforge.net/jnode/?rev=3336&view=rev
Author: fduminy
Date: 2007-06-30 04:56:19 -0700 (Sat, 30 Jun 2007)
Log Message:
-----------
integration of OpenJDK: added binding with VM for new File APIs (jdk 1.6)
Modified Paths:
--------------
trunk/core/descriptors/org.classpath.core.xml
Modified: trunk/core/descriptors/org.classpath.core.xml
===================================================================
--- trunk/core/descriptors/org.classpath.core.xml 2007-06-30 11:53:23 UTC (rev 3335)
+++ trunk/core/descriptors/org.classpath.core.xml 2007-06-30 11:56:19 UTC (rev 3336)
@@ -11,8 +11,12 @@
<runtime>
<library name="jnode-core.jar">
+ <export name="com.sun.*" />
+ <export name="com.sun.naming.internal.*"/>
+ <export name="sun.*" />
<export name="sun.misc.*"/>
+ <export name="sun.reflect.Reflection"/>
<export name="sun.net.www.protocol.http.InMemoryCookieStore"/>
<export name="sun.security.util.Debug"/>
<export name="sun.security.util.SecurityConstants"/>
@@ -80,6 +84,7 @@
<export name="java.beans.PropertyChangeSupport" />
<export name="java.beans.PropertyChangeEvent" />
+ <export name="java.*" />
<export name="java.io.*"/>
<export name="java.lang.*"/>
<export name="java.lang.annotation.*"/>
@@ -108,7 +113,11 @@
<export name="java.util.spi.*"/>
<export name="java.util.zip.*"/>
+ <export name="javax.*" />
<export name="javax.isolate.*"/>
+
+ <export name="javax.naming.*"/>
+ <export name="javax.naming.spi.*"/>
<export name="javax.naming.Name"/>
<export name="javax.naming.InvalidNameException"/>
@@ -130,6 +139,8 @@
<export name="javax.xml.stream.events.*"/>
<export name="javax.xml.stream.util.*"/>
+ <export name="javax.crypto.*"/>
+ <export name="javax.crypto.spec.*"/>
<export name="javax.security.auth.AuthPermission"/>
<export name="javax.security.auth.Destroyable"/>
<export name="javax.security.auth.DestroyFailedException"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fd...@us...> - 2007-06-30 11:53:25
|
Revision: 3335
http://jnode.svn.sourceforge.net/jnode/?rev=3335&view=rev
Author: fduminy
Date: 2007-06-30 04:53:23 -0700 (Sat, 30 Jun 2007)
Log Message:
-----------
added test cases for JNode native bindings
Added Paths:
-----------
trunk/core/src/test/org/jnode/test/jnodenative/
trunk/core/src/test/org/jnode/test/jnodenative/NativeTestCase1.java
trunk/core/src/test/org/jnode/test/jnodenative/NativeTestCase2.java
trunk/core/src/test/org/jnode/test/jnodenative/TestCase1.java
trunk/core/src/test/org/jnode/test/jnodenative/TestCase2.java
Added: trunk/core/src/test/org/jnode/test/jnodenative/NativeTestCase1.java
===================================================================
--- trunk/core/src/test/org/jnode/test/jnodenative/NativeTestCase1.java (rev 0)
+++ trunk/core/src/test/org/jnode/test/jnodenative/NativeTestCase1.java 2007-06-30 11:53:23 UTC (rev 3335)
@@ -0,0 +1,5 @@
+package org.jnode.test.jnodenative;
+
+public class NativeTestCase1 {
+ public native void aMethod();
+}
Added: trunk/core/src/test/org/jnode/test/jnodenative/NativeTestCase2.java
===================================================================
--- trunk/core/src/test/org/jnode/test/jnodenative/NativeTestCase2.java (rev 0)
+++ trunk/core/src/test/org/jnode/test/jnodenative/NativeTestCase2.java 2007-06-30 11:53:23 UTC (rev 3335)
@@ -0,0 +1,9 @@
+package org.jnode.test.jnodenative;
+
+public class NativeTestCase2 {
+ public TestCase2 getTestCase2()
+ {
+ System.err.println("this is the native implementation for JNode");
+ return new TestCase2();
+ }
+}
Added: trunk/core/src/test/org/jnode/test/jnodenative/TestCase1.java
===================================================================
--- trunk/core/src/test/org/jnode/test/jnodenative/TestCase1.java (rev 0)
+++ trunk/core/src/test/org/jnode/test/jnodenative/TestCase1.java 2007-06-30 11:53:23 UTC (rev 3335)
@@ -0,0 +1,5 @@
+package org.jnode.test.jnodenative;
+
+public class TestCase1 {
+ public native void aMethod();
+}
Added: trunk/core/src/test/org/jnode/test/jnodenative/TestCase2.java
===================================================================
--- trunk/core/src/test/org/jnode/test/jnodenative/TestCase2.java (rev 0)
+++ trunk/core/src/test/org/jnode/test/jnodenative/TestCase2.java 2007-06-30 11:53:23 UTC (rev 3335)
@@ -0,0 +1,5 @@
+package org.jnode.test.jnodenative;
+
+public class TestCase2 {
+
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fd...@us...> - 2007-06-30 11:50:31
|
Revision: 3334
http://jnode.svn.sourceforge.net/jnode/?rev=3334&view=rev
Author: fduminy
Date: 2007-06-30 04:50:26 -0700 (Sat, 30 Jun 2007)
Log Message:
-----------
integration of OpenJDK: added binding with VM for new File APIs (jdk 1.6)
Modified Paths:
--------------
trunk/core/src/classpath/vm/java/io/VMFile.java
trunk/core/src/classpath/vm/java/io/VMFileSystemAPI.java
trunk/core/src/core/org/jnode/util/FileUtils.java
Added Paths:
-----------
trunk/core/src/openjdk/java/java/io/DeleteOnExitHook.java
trunk/core/src/openjdk/java/java/io/FileSystem.java
trunk/core/src/openjdk/vm/java/io/JNodeFileSystem.java
trunk/core/src/openjdk/vm/java/io/NativeFileSystem.java
Modified: trunk/core/src/classpath/vm/java/io/VMFile.java
===================================================================
--- trunk/core/src/classpath/vm/java/io/VMFile.java 2007-06-26 18:57:25 UTC (rev 3333)
+++ trunk/core/src/classpath/vm/java/io/VMFile.java 2007-06-30 11:50:26 UTC (rev 3334)
@@ -198,6 +198,41 @@
}
}
+ static synchronized boolean canExecute(String path) {
+ try {
+ return VMIOUtils.getAPI().canExecute(getNormalizedPath(path));
+ } catch (IOException ex) {
+ return false;
+ }
+ }
+
+ public static boolean setReadable(String path, boolean enable,
+ boolean owneronly) {
+ try {
+ return VMIOUtils.getAPI().setReadable(getNormalizedPath(path), enable, owneronly);
+ } catch (IOException ex) {
+ return false;
+ }
+ }
+
+ public static boolean setWritable(String path, boolean enable,
+ boolean owneronly) {
+ try {
+ return VMIOUtils.getAPI().setWritable(getNormalizedPath(path), enable, owneronly);
+ } catch (IOException ex) {
+ return false;
+ }
+ }
+
+ public static boolean setExecutable(String path, boolean enable,
+ boolean owneronly) {
+ try {
+ return VMIOUtils.getAPI().setExecutable(getNormalizedPath(path), enable, owneronly);
+ } catch (IOException ex) {
+ return false;
+ }
+ }
+
/*
* This method does the actual check of whether or not a file is a directory
* or not. It also handle the existence check to eliminate the overhead of a
@@ -307,4 +342,28 @@
}
return path;
}
+
+ public static long getTotalSpace(String path) {
+ try {
+ return VMIOUtils.getAPI().getTotalSpace(getNormalizedPath(path));
+ } catch (IOException ex) {
+ return 0L;
+ }
+ }
+
+ public static long getFreeSpace(String path) {
+ try {
+ return VMIOUtils.getAPI().getFreeSpace(getNormalizedPath(path));
+ } catch (IOException ex) {
+ return 0L;
+ }
+ }
+
+ public static long getUsableSpace(String path) {
+ try {
+ return VMIOUtils.getAPI().getUsableSpace(getNormalizedPath(path));
+ } catch (IOException ex) {
+ return 0L;
+ }
+ }
}
Modified: trunk/core/src/classpath/vm/java/io/VMFileSystemAPI.java
===================================================================
--- trunk/core/src/classpath/vm/java/io/VMFileSystemAPI.java 2007-06-26 18:57:25 UTC (rev 3333)
+++ trunk/core/src/classpath/vm/java/io/VMFileSystemAPI.java 2007-06-30 11:50:26 UTC (rev 3334)
@@ -53,15 +53,17 @@
*
* @param file
*/
- public boolean canRead(String file);
+ public boolean canRead(String file) throws IOException;
/**
* Can the given file be written to?
*
* @param file
*/
- public boolean canWrite(String file);
+ public boolean canWrite(String file) throws IOException;
+ public boolean canExecute(String file) throws IOException;
+
/**
* Gets the length in bytes of the given file or 0 if the file does not exist.
*
@@ -91,6 +93,15 @@
*/
public void setReadOnly(String file) throws IOException;
+ public boolean setReadable(String normalizedPath, boolean enable,
+ boolean owneronly) throws IOException;
+
+ public boolean setWritable(String normalizedPath, boolean enable,
+ boolean owneronly) throws IOException;
+
+ public boolean setExecutable(String normalizedPath, boolean enable,
+ boolean owneronly) throws IOException;
+
/**
* Delete the given file.
*
@@ -136,4 +147,10 @@
* @throws IOException
*/
public boolean mkFile(String file, VMOpenMode mode) throws IOException;
+
+ public long getTotalSpace(String normalizedPath) throws IOException;
+
+ public long getFreeSpace(String normalizedPath) throws IOException;
+
+ public long getUsableSpace(String normalizedPath) throws IOException;
}
Modified: trunk/core/src/core/org/jnode/util/FileUtils.java
===================================================================
--- trunk/core/src/core/org/jnode/util/FileUtils.java 2007-06-26 18:57:25 UTC (rev 3333)
+++ trunk/core/src/core/org/jnode/util/FileUtils.java 2007-06-30 11:50:26 UTC (rev 3334)
@@ -60,17 +60,23 @@
* @throws IOException
*/
public static final void copy(InputStream is, OutputStream os, byte[] buf, boolean close) throws IOException {
- int len;
- if (buf == null) {
- buf = new byte[4096];
+ try
+ {
+ int len;
+ if (buf == null) {
+ buf = new byte[4096];
+ }
+ while ((len = is.read(buf)) > 0) {
+ os.write(buf, 0, len);
+ }
+ os.flush();
}
- while ((len = is.read(buf)) > 0) {
- os.write(buf, 0, len);
+ finally // in any case, we must close the stream if requested
+ {
+ if (close) {
+ is.close();
+ }
}
- os.flush();
- if (close) {
- is.close();
- }
}
/**
Added: trunk/core/src/openjdk/java/java/io/DeleteOnExitHook.java
===================================================================
--- trunk/core/src/openjdk/java/java/io/DeleteOnExitHook.java (rev 0)
+++ trunk/core/src/openjdk/java/java/io/DeleteOnExitHook.java 2007-06-30 11:50:26 UTC (rev 3334)
@@ -0,0 +1,75 @@
+/*
+ * Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+package java.io;
+
+import java.util.*;
+import java.io.File;
+
+/**
+ * This class holds a set of filenames to be deleted on VM exit through a shutdown hook.
+ * A set is used both to prevent double-insertion of the same file as well as offer
+ * quick removal.
+ */
+
+class DeleteOnExitHook {
+ private static DeleteOnExitHook instance = null;
+
+ private static LinkedHashSet<String> files = new LinkedHashSet<String>();
+
+ static DeleteOnExitHook hook() {
+ if (instance == null)
+ instance = new DeleteOnExitHook();
+
+ return instance;
+ }
+
+ private DeleteOnExitHook() {}
+
+ static synchronized void add(String file) {
+ if(files == null)
+ throw new IllegalStateException("Shutdown in progress");
+
+ files.add(file);
+ }
+
+ void run() {
+ LinkedHashSet<String> theFiles;
+
+ synchronized (DeleteOnExitHook.class) {
+ theFiles = files;
+ files = null;
+ }
+
+ ArrayList<String> toBeDeleted = new ArrayList<String>(theFiles);
+
+ // reverse the list to maintain previous jdk deletion order.
+ // Last in first deleted.
+ Collections.reverse(toBeDeleted);
+ for (String filename : toBeDeleted) {
+ (new File(filename)).delete();
+ }
+ }
+}
+
Added: trunk/core/src/openjdk/java/java/io/FileSystem.java
===================================================================
--- trunk/core/src/openjdk/java/java/io/FileSystem.java (rev 0)
+++ trunk/core/src/openjdk/java/java/io/FileSystem.java 2007-06-30 11:50:26 UTC (rev 3334)
@@ -0,0 +1,252 @@
+/*
+ * Copyright 1998-2005 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package java.io;
+
+
+/**
+ * Package-private abstract class for the local filesystem abstraction.
+ */
+
+abstract class FileSystem {
+
+ /**
+ * Return the FileSystem object representing this platform's local
+ * filesystem.
+ */
+ public static native FileSystem getFileSystem();
+
+
+ /* -- Normalization and construction -- */
+
+ /**
+ * Return the local filesystem's name-separator character.
+ */
+ public abstract char getSeparator();
+
+ /**
+ * Return the local filesystem's path-separator character.
+ */
+ public abstract char getPathSeparator();
+
+ /**
+ * Convert the given pathname string to normal form. If the string is
+ * already in normal form then it is simply returned.
+ */
+ public abstract String normalize(String path);
+
+ /**
+ * Compute the length of this pathname string's prefix. The pathname
+ * string must be in normal form.
+ */
+ public abstract int prefixLength(String path);
+
+ /**
+ * Resolve the child pathname string against the parent.
+ * Both strings must be in normal form, and the result
+ * will be in normal form.
+ */
+ public abstract String resolve(String parent, String child);
+
+ /**
+ * Return the parent pathname string to be used when the parent-directory
+ * argument in one of the two-argument File constructors is the empty
+ * pathname.
+ */
+ public abstract String getDefaultParent();
+
+ /**
+ * Post-process the given URI path string if necessary. This is used on
+ * win32, e.g., to transform "/c:/foo" into "c:/foo". The path string
+ * still has slash separators; code in the File class will translate them
+ * after this method returns.
+ */
+ public abstract String fromURIPath(String path);
+
+
+ /* -- Path operations -- */
+
+ /**
+ * Tell whether or not the given abstract pathname is absolute.
+ */
+ public abstract boolean isAbsolute(File f);
+
+ /**
+ * Resolve the given abstract pathname into absolute form. Invoked by the
+ * getAbsolutePath and getCanonicalPath methods in the File class.
+ */
+ public abstract String resolve(File f);
+
+ public abstract String canonicalize(String path) throws IOException;
+
+
+ /* -- Attribute accessors -- */
+
+ /* Constants for simple boolean attributes */
+ public static final int BA_EXISTS = 0x01;
+ public static final int BA_REGULAR = 0x02;
+ public static final int BA_DIRECTORY = 0x04;
+ public static final int BA_HIDDEN = 0x08;
+
+ /**
+ * Return the simple boolean attributes for the file or directory denoted
+ * by the given abstract pathname, or zero if it does not exist or some
+ * other I/O error occurs.
+ */
+ public abstract int getBooleanAttributes(File f);
+
+ public static final int ACCESS_READ = 0x04;
+ public static final int ACCESS_WRITE = 0x02;
+ public static final int ACCESS_EXECUTE = 0x01;
+
+ /**
+ * Check whether the file or directory denoted by the given abstract
+ * pathname may be accessed by this process. The second argument specifies
+ * which access, ACCESS_READ, ACCESS_WRITE or ACCESS_EXECUTE, to check.
+ * Return false if access is denied or an I/O error occurs
+ */
+ public abstract boolean checkAccess(File f, int access);
+ /**
+ * Set on or off the access permission (to owner only or to all) to the file
+ * or directory denoted by the given abstract pathname, based on the parameters
+ * enable, access and oweronly.
+ */
+ public abstract boolean setPermission(File f, int access, boolean enable, boolean owneronly);
+
+ /**
+ * Return the time at which the file or directory denoted by the given
+ * abstract pathname was last modified, or zero if it does not exist or
+ * some other I/O error occurs.
+ */
+ public abstract long getLastModifiedTime(File f);
+
+ /**
+ * Return the length in bytes of the file denoted by the given abstract
+ * pathname, or zero if it does not exist, is a directory, or some other
+ * I/O error occurs.
+ */
+ public abstract long getLength(File f);
+
+
+ /* -- File operations -- */
+
+ /**
+ * Create a new empty file with the given pathname. Return
+ * <code>true</code> if the file was created and <code>false</code> if a
+ * file or directory with the given pathname already exists. Throw an
+ * IOException if an I/O error occurs.
+ */
+ public abstract boolean createFileExclusively(String pathname)
+ throws IOException;
+
+ /**
+ * Delete the file or directory denoted by the given abstract pathname,
+ * returning <code>true</code> if and only if the operation succeeds.
+ */
+ public abstract boolean delete(File f);
+
+ /**
+ * List the elements of the directory denoted by the given abstract
+ * pathname. Return an array of strings naming the elements of the
+ * directory if successful; otherwise, return <code>null</code>.
+ */
+ public abstract String[] list(File f);
+
+ /**
+ * Create a new directory denoted by the given abstract pathname,
+ * returning <code>true</code> if and only if the operation succeeds.
+ */
+ public abstract boolean createDirectory(File f);
+
+ /**
+ * Rename the file or directory denoted by the first abstract pathname to
+ * the second abstract pathname, returning <code>true</code> if and only if
+ * the operation succeeds.
+ */
+ public abstract boolean rename(File f1, File f2);
+
+ /**
+ * Set the last-modified time of the file or directory denoted by the
+ * given abstract pathname, returning <code>true</code> if and only if the
+ * operation succeeds.
+ */
+ public abstract boolean setLastModifiedTime(File f, long time);
+
+ /**
+ * Mark the file or directory denoted by the given abstract pathname as
+ * read-only, returning <code>true</code> if and only if the operation
+ * succeeds.
+ */
+ public abstract boolean setReadOnly(File f);
+
+
+ /* -- Filesystem interface -- */
+
+ /**
+ * List the available filesystem roots.
+ */
+ public abstract File[] listRoots();
+
+ /* -- Disk usage -- */
+ public static final int SPACE_TOTAL = 0;
+ public static final int SPACE_FREE = 1;
+ public static final int SPACE_USABLE = 2;
+
+ public abstract long getSpace(File f, int t);
+
+ /* -- Basic infrastructure -- */
+
+ /**
+ * Compare two abstract pathnames lexicographically.
+ */
+ public abstract int compare(File f1, File f2);
+
+ /**
+ * Compute the hash code of an abstract pathname.
+ */
+ public abstract int hashCode(File f);
+
+ // Flags for enabling/disabling performance optimizations for file
+ // name canonicalization
+ static boolean useCanonCaches = true;
+ static boolean useCanonPrefixCache = true;
+
+ private static boolean getBooleanProperty(String prop, boolean defaultVal) {
+ String val = System.getProperty(prop);
+ if (val == null) return defaultVal;
+ if (val.equalsIgnoreCase("true")) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ static {
+ useCanonCaches = getBooleanProperty("sun.io.useCanonCaches",
+ useCanonCaches);
+ useCanonPrefixCache = getBooleanProperty("sun.io.useCanonPrefixCache",
+ useCanonPrefixCache);
+ }
+}
Added: trunk/core/src/openjdk/vm/java/io/JNodeFileSystem.java
===================================================================
--- trunk/core/src/openjdk/vm/java/io/JNodeFileSystem.java (rev 0)
+++ trunk/core/src/openjdk/vm/java/io/JNodeFileSystem.java 2007-06-30 11:50:26 UTC (rev 3334)
@@ -0,0 +1,245 @@
+package java.io;
+
+import gnu.classpath.SystemProperties;
+
+/**
+ *
+ * @author Fabien DUMINY (fduminy at jnode.org)
+ *
+ */
+class JNodeFileSystem extends FileSystem {
+ private static final String dupSeparator;
+ static
+ {
+ String separator = SystemProperties.getProperty("file.separator");
+ dupSeparator = separator + separator;
+ }
+
+ @Override
+ public String canonicalize(String path) throws IOException {
+ // note : we expect that the File class from OpenJDK give an absolute path
+ return VMFile.toCanonicalForm(path);
+ }
+
+ @Override
+ public boolean checkAccess(File f, int access) {
+ boolean canAccess;
+ if (! VMFile.exists(f.getPath()))
+ return false;
+
+ switch(access)
+ {
+ case ACCESS_READ: canAccess = VMFile.canRead(f.getPath()); break;
+ case ACCESS_WRITE:
+ if (VMFile.isDirectory(f.getPath()))
+ canAccess = VMFile.canWriteDirectory(f);
+ else
+ canAccess = VMFile.canWrite(f.getPath());
+
+ break;
+ case ACCESS_EXECUTE: canAccess = VMFile.canExecute(f.getPath()); break;
+ default: throw new IllegalArgumentException("invalid access : "+access);
+ }
+ return canAccess;
+ }
+
+ @Override
+ public int compare(File f1, File f2) {
+ final String f1Path = f1.getAbsolutePath();
+ final String f2Path = f2.getAbsolutePath();
+ return f1Path.compareTo(f2Path);
+ }
+
+ @Override
+ public boolean createDirectory(File f) {
+ return VMFile.mkdir(f.getPath());
+ }
+
+ @Override
+ public boolean createFileExclusively(String pathname) throws IOException {
+ return VMFile.create(pathname);
+ }
+
+ @Override
+ public boolean delete(File f) {
+ return VMFile.delete(f.getPath());
+ }
+
+ @Override
+ public String fromURIPath(String path) {
+ return path;
+ }
+
+ @Override
+ public int getBooleanAttributes(File f) {
+ int attributes = 0;
+
+ attributes |= (VMFile.exists(f.getPath()) ? BA_EXISTS : 0);
+ attributes |= (VMFile.isFile(f.getPath()) ? BA_REGULAR : 0);
+ attributes |= (VMFile.isDirectory(f.getPath()) ? BA_DIRECTORY : 0);
+ attributes |= (VMFile.isHidden(f.getPath()) ? BA_HIDDEN : 0);
+
+ return attributes;
+ }
+
+ @Override
+ public String getDefaultParent() {
+ return File.separator;
+ }
+
+ @Override
+ public long getLastModifiedTime(File f) {
+ return VMFile.lastModified(f.getPath());
+ }
+
+ @Override
+ public long getLength(File f) {
+ return VMFile.length(f.getPath());
+ }
+
+ @Override
+ public char getPathSeparator() {
+ return SystemProperties.getProperty("path.separator").charAt(0);
+ }
+
+ @Override
+ public char getSeparator() {
+ return SystemProperties.getProperty("file.separator").charAt(0);
+ }
+
+ @Override
+ public long getSpace(File f, int t) {
+ long space = 0L;
+ switch(t)
+ {
+ case SPACE_TOTAL: space = VMFile.getTotalSpace(f.getPath()); break; //TODO
+ case SPACE_FREE: space = VMFile.getFreeSpace(f.getPath()); break; //TODO
+ case SPACE_USABLE: space = VMFile.getUsableSpace(f.getPath()); break; //TODO
+ }
+ return space;
+ }
+
+ /**
+ * implemented by taking the UNIX way regarding javadoc of File.hashCode() from openjdk
+ */
+ @Override
+ public int hashCode(File f) {
+ return f.getPath().hashCode() ^ 1234321;
+ }
+
+ @Override
+ public boolean isAbsolute(File f) {
+ return f.getPath().startsWith(File.separator);
+ }
+
+ @Override
+ public String[] list(File f) {
+ if (!f.exists() || !f.isDirectory())
+ return null;
+
+ // Get the list of files
+ return VMFile.list(f.getPath());
+ }
+
+ @Override
+ public File[] listRoots() {
+ return VMFile.listRoots();
+ }
+
+ @Override
+ public String normalize(String path) {
+ char separatorChar = SystemProperties.getProperty("file.separator").charAt(0);
+ int dupIndex = path.indexOf(dupSeparator);
+ int plen = path.length();
+
+ if (dupIndex == -1)
+ {
+ // Ignore trailing separator (though on Windows "a:\", for
+ // example, is a valid and minimal path).
+ if (plen > 1 && path.charAt (plen - 1) == separatorChar)
+ {
+ if (! (separatorChar == '\\' && plen == 3 && path.charAt (1) == ':'))
+ return path.substring (0, plen - 1);
+ }
+ else
+ return path;
+ }
+
+ StringBuffer newpath = new StringBuffer(plen);
+ int last = 0;
+ while (dupIndex != -1)
+ {
+ newpath.append(path.substring(last, dupIndex));
+ // Ignore the duplicate path characters.
+ while (path.charAt(dupIndex) == separatorChar)
+ {
+ dupIndex++;
+ if (dupIndex == plen)
+ return newpath.toString();
+ }
+ newpath.append(separatorChar);
+ last = dupIndex;
+ dupIndex = path.indexOf(dupSeparator, last);
+ }
+
+ newpath.append(path.substring(last, plen));
+
+ return newpath.toString();
+ }
+
+ @Override
+ public int prefixLength(String path) {
+ return path.lastIndexOf(File.separatorChar) + 1;
+ }
+
+ @Override
+ public boolean rename(File f1, File f2) {
+ return VMFile.renameTo(f1.getPath(), f2.getPath());
+ }
+
+ @Override
+ public String resolve(String parent, String child) {
+ return parent + File.separatorChar + child;
+ }
+
+ @Override
+ public String resolve(File f) {
+ if (isAbsolute(f))
+ return f.getPath();
+
+ String currentDir = System.getProperty("user.dir");
+
+ if (currentDir.endsWith(File.separator))
+ return currentDir + f.getPath();
+ else
+ return currentDir + File.separator + f.getPath();
+ }
+
+ @Override
+ public boolean setLastModifiedTime(File f, long time) {
+ return VMFile.setLastModified(f.getPath(), time);
+ }
+
+ @Override
+ public boolean setPermission(File f, int access, boolean enable,
+ boolean owneronly)
+ {
+ boolean success = false;
+ switch(access)
+ {
+ case ACCESS_READ: success = VMFile.setReadable(f.getPath(), enable, owneronly); break;
+ case ACCESS_WRITE: success = VMFile.setWritable(f.getPath(), enable, owneronly); break;
+ case ACCESS_EXECUTE: success = VMFile.setExecutable(f.getPath(), enable, owneronly); break;
+ }
+ return success;
+ }
+
+ @Override
+ public boolean setReadOnly(File f) {
+ // Test for existence.
+ if (! VMFile.exists(f.getPath()))
+ return false;
+
+ return VMFile.setReadOnly(f.getPath());
+ }
+}
Added: trunk/core/src/openjdk/vm/java/io/NativeFileSystem.java
===================================================================
--- trunk/core/src/openjdk/vm/java/io/NativeFileSystem.java (rev 0)
+++ trunk/core/src/openjdk/vm/java/io/NativeFileSystem.java 2007-06-30 11:50:26 UTC (rev 3334)
@@ -0,0 +1,18 @@
+package java.io;
+
+
+/**
+ *
+ * @author Fabien DUMINY (fduminy at jnode.org)
+ *
+ */
+public class NativeFileSystem {
+ /**
+ * Return the FileSystem object representing this platform's local
+ * filesystem.
+ */
+ public static Object getFileSystem()
+ {
+ return new JNodeFileSystem();
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-26 18:57:27
|
Revision: 3333
http://jnode.svn.sourceforge.net/jnode/?rev=3333&view=rev
Author: lsantha
Date: 2007-06-26 11:57:25 -0700 (Tue, 26 Jun 2007)
Log Message:
-----------
Added required permission.
Modified Paths:
--------------
trunk/gui/descriptors/org.jnode.driver.console.swing.xml
Modified: trunk/gui/descriptors/org.jnode.driver.console.swing.xml
===================================================================
--- trunk/gui/descriptors/org.jnode.driver.console.swing.xml 2007-06-26 17:36:26 UTC (rev 3332)
+++ trunk/gui/descriptors/org.jnode.driver.console.swing.xml 2007-06-26 18:57:25 UTC (rev 3333)
@@ -26,5 +26,6 @@
<extension point="org.jnode.security.permissions">
<permission class="java.util.PropertyPermission" name="gnu.awt.dispatchthread.priority" actions="read"/>
<permission class="java.awt.AWTPermission" name="listenToAllAWTEvents"/>
+ <permission class="java.lang.RuntimePermission" name="exitVM"/>
</extension>
</plugin>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-26 17:36:29
|
Revision: 3332
http://jnode.svn.sourceforge.net/jnode/?rev=3332&view=rev
Author: lsantha
Date: 2007-06-26 10:36:26 -0700 (Tue, 26 Jun 2007)
Log Message:
-----------
Use variable number of arguments in main method.
Modified Paths:
--------------
trunk/fs/src/fs/org/jnode/fs/jfat/command/JGrubInstallCommand.java
Modified: trunk/fs/src/fs/org/jnode/fs/jfat/command/JGrubInstallCommand.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/jfat/command/JGrubInstallCommand.java 2007-06-25 20:38:29 UTC (rev 3331)
+++ trunk/fs/src/fs/org/jnode/fs/jfat/command/JGrubInstallCommand.java 2007-06-26 17:36:26 UTC (rev 3332)
@@ -78,7 +78,7 @@
* @param args
* @throws Exception
*/
- public static void main(String[] args) throws Exception {
+ public static void main(String... args) throws Exception {
new JGrubInstallCommand().execute(new CommandLine(args), System.in, System.out, System.err);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 20:39:03
|
Revision: 3331
http://jnode.svn.sourceforge.net/jnode/?rev=3331&view=rev
Author: lsantha
Date: 2007-06-25 13:38:29 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/icedtea/com/
trunk/core/src/icedtea/com/sun/
trunk/core/src/icedtea/com/sun/corba/
trunk/core/src/icedtea/com/sun/corba/se/
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/Activator.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorOperations.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/BadServerDefinition.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/BadServerDefinitionHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/BadServerDefinitionHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/EndPointInfo.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/EndPointInfoHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/EndPointInfoHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/EndpointInfoListHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/EndpointInfoListHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/IIOP_CLEAR_TEXT.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/InitialNameService.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/InitialNameServiceHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/InitialNameServiceHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/InitialNameServiceOperations.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/NameAlreadyBound.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/NameAlreadyBoundHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/NameAlreadyBoundHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/InvalidORBid.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/InvalidORBidHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/InvalidORBidHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/Locator.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/LocatorHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/LocatorHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/LocatorOperations.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/LocatorPackage/
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerORB.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerORBHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerORBHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerType.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerTypeHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerTypeHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/NoSuchEndPoint.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/NoSuchEndPointHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/NoSuchEndPointHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBAlreadyRegistered.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBAlreadyRegisteredHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBAlreadyRegisteredHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBPortInfo.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBPortInfoHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBPortInfoHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBPortInfoListHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBPortInfoListHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBProxy.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBProxyHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBProxyHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBProxyOperations.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBidListHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ORBidListHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/Repository.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/RepositoryHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/RepositoryHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/RepositoryOperations.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/RepositoryPackage/
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/RepositoryPackage/AppNamesHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/RepositoryPackage/AppNamesHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/RepositoryPackage/ServerDef.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/RepositoryPackage/ServerDefHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/RepositoryPackage/ServerDefHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyActive.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyActiveHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyActiveHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyInstalled.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyInstalledHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyInstalledHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyRegistered.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyRegisteredHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyRegisteredHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyUninstalled.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyUninstalledHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerAlreadyUninstalledHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerHeldDown.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerHeldDownHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerHeldDownHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerIdsHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerIdsHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerManager.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerManagerHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerManagerHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerManagerOperations.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerNotActive.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerNotActiveHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerNotActiveHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerNotRegistered.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerNotRegisteredHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerNotRegisteredHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerProxy.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerProxyHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerProxyHolder.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ServerProxyOperations.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/TCPPortHelper.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_ActivatorImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_ActivatorStub.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_InitialNameServiceImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_InitialNameServiceStub.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_LocatorImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_LocatorStub.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_ORBProxyImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_ORBProxyStub.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_RepositoryImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_RepositoryStub.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_ServerManagerImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_ServerManagerStub.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_ServerProxyImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/_ServerProxyStub.java
trunk/core/src/icedtea/com/sun/corba/se/impl/
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/ActivationSystemException.java
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/ActivationSystemException.resource
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/IORSystemException.java
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/IORSystemException.resource
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/InterceptorsSystemException.java
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/InterceptorsSystemException.resource
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/LogStrings.properties
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/NamingSystemException.java
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/NamingSystemException.resource
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/OMGSystemException.java
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/OMGSystemException.resource
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/ORBUtilSystemException.java
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/ORBUtilSystemException.resource
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/POASystemException.java
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/POASystemException.resource
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/UtilSystemException.java
trunk/core/src/icedtea/com/sun/corba/se/impl/logging/UtilSystemException.resource
trunk/core/src/icedtea/com/sun/corba/se/spi/
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/Activator.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ActivatorHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ActivatorHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ActivatorOperations.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/BadServerDefinition.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/BadServerDefinitionHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/BadServerDefinitionHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/EndPointInfo.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/EndPointInfoHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/EndPointInfoHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/EndpointInfoListHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/EndpointInfoListHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/IIOP_CLEAR_TEXT.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/InitialNameService.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/InitialNameServiceHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/InitialNameServiceHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/InitialNameServiceOperations.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/InitialNameServicePackage/
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/InitialNameServicePackage/NameAlreadyBound.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/InitialNameServicePackage/NameAlreadyBoundHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/InitialNameServicePackage/NameAlreadyBoundHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/InvalidORBid.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/InvalidORBidHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/InvalidORBidHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/Locator.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/LocatorHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/LocatorHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/LocatorOperations.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/LocatorPackage/
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/LocatorPackage/ServerLocation.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/LocatorPackage/ServerLocationHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/LocatorPackage/ServerLocationHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/LocatorPackage/ServerLocationPerORB.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/LocatorPackage/ServerLocationPerORBHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/LocatorPackage/ServerLocationPerORBHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/NoSuchEndPoint.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/NoSuchEndPointHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/NoSuchEndPointHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ORBAlreadyRegistered.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ORBAlreadyRegisteredHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ORBAlreadyRegisteredHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ORBPortInfo.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ORBPortInfoHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ORBPortInfoHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ORBPortInfoListHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ORBPortInfoListHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ORBidHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ORBidListHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ORBidListHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/POANameHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/POANameHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/Repository.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/RepositoryHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/RepositoryHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/RepositoryOperations.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/RepositoryPackage/
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/RepositoryPackage/ServerDef.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/RepositoryPackage/ServerDefHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/RepositoryPackage/ServerDefHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/RepositoryPackage/StringSeqHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/RepositoryPackage/StringSeqHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/Server.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyActive.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyActiveHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyActiveHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyInstalled.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyInstalledHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyInstalledHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyRegistered.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyRegisteredHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyRegisteredHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyUninstalled.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyUninstalledHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerAlreadyUninstalledHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerHeldDown.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerHeldDownHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerHeldDownHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerIdHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerIdsHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerIdsHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerManager.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerManagerHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerManagerHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerManagerOperations.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerNotActive.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerNotActiveHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerNotActiveHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerNotRegistered.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerNotRegisteredHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerNotRegisteredHolder.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/ServerOperations.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/TCPPortHelper.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_ActivatorImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_ActivatorStub.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_InitialNameServiceImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_InitialNameServiceStub.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_LocatorImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_LocatorStub.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_RepositoryImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_RepositoryStub.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_ServerImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_ServerManagerImplBase.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_ServerManagerStub.java
trunk/core/src/icedtea/com/sun/corba/se/spi/activation/_ServerStub.java
trunk/core/src/icedtea/org/
trunk/core/src/icedtea/org/omg/
trunk/core/src/icedtea/org/omg/CORBA/
trunk/core/src/icedtea/org/omg/CORBA/ParameterMode.java
trunk/core/src/icedtea/org/omg/CORBA/ParameterModeHelper.java
trunk/core/src/icedtea/org/omg/CORBA/ParameterModeHolder.java
trunk/core/src/icedtea/org/omg/CORBA/PolicyErrorCodeHelper.java
trunk/core/src/icedtea/org/omg/CORBA/PolicyErrorHelper.java
trunk/core/src/icedtea/org/omg/CORBA/PolicyErrorHolder.java
trunk/core/src/icedtea/org/omg/CORBA/StringSeqHelper.java
trunk/core/src/icedtea/org/omg/CORBA/StringSeqHolder.java
trunk/core/src/icedtea/org/omg/CORBA/WStringSeqHelper.java
trunk/core/src/icedtea/org/omg/CORBA/WStringSeqHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/
trunk/core/src/icedtea/org/omg/CosNaming/Binding.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingIterator.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingIteratorHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingIteratorHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingIteratorOperations.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingIteratorPOA.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingListHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingListHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingType.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingTypeHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/BindingTypeHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/IstringHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NameComponent.java
trunk/core/src/icedtea/org/omg/CosNaming/NameComponentHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NameComponentHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/NameHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NameHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContext.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExt.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExtHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExtHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExtOperations.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExtPOA.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExtPackage/
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextOperations.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPOA.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/AlreadyBound.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/AlreadyBoundHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/CannotProceed.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/CannotProceedHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/InvalidName.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/InvalidNameHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/NotEmpty.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/NotEmptyHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/NotFound.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/NotFoundHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/NotFoundReason.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java
trunk/core/src/icedtea/org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java
trunk/core/src/icedtea/org/omg/CosNaming/_BindingIteratorStub.java
trunk/core/src/icedtea/org/omg/CosNaming/_NamingContextExtStub.java
trunk/core/src/icedtea/org/omg/CosNaming/_NamingContextStub.java
trunk/core/src/icedtea/org/omg/Dynamic/
trunk/core/src/icedtea/org/omg/Dynamic/Parameter.java
trunk/core/src/icedtea/org/omg/DynamicAny/
trunk/core/src/icedtea/org/omg/DynamicAny/AnySeqHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAny.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyFactory.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyFactoryHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyFactoryOperations.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyFactoryPackage/
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyOperations.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyPackage/
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyPackage/InvalidValue.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynAnySeqHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynArray.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynArrayHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynArrayOperations.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynEnum.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynEnumHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynEnumOperations.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynFixed.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynFixedHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynFixedOperations.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynSequence.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynSequenceHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynSequenceOperations.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynStruct.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynStructHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynStructOperations.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynUnion.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynUnionHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynUnionOperations.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynValue.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynValueBox.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynValueBoxOperations.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynValueCommon.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynValueCommonOperations.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynValueHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/DynValueOperations.java
trunk/core/src/icedtea/org/omg/DynamicAny/FieldNameHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/NameDynAnyPair.java
trunk/core/src/icedtea/org/omg/DynamicAny/NameDynAnyPairHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/NameDynAnyPairSeqHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/NameValuePair.java
trunk/core/src/icedtea/org/omg/DynamicAny/NameValuePairHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/NameValuePairSeqHelper.java
trunk/core/src/icedtea/org/omg/DynamicAny/_DynAnyFactoryStub.java
trunk/core/src/icedtea/org/omg/DynamicAny/_DynAnyStub.java
trunk/core/src/icedtea/org/omg/DynamicAny/_DynArrayStub.java
trunk/core/src/icedtea/org/omg/DynamicAny/_DynEnumStub.java
trunk/core/src/icedtea/org/omg/DynamicAny/_DynFixedStub.java
trunk/core/src/icedtea/org/omg/DynamicAny/_DynSequenceStub.java
trunk/core/src/icedtea/org/omg/DynamicAny/_DynStructStub.java
trunk/core/src/icedtea/org/omg/DynamicAny/_DynUnionStub.java
trunk/core/src/icedtea/org/omg/DynamicAny/_DynValueStub.java
trunk/core/src/icedtea/org/omg/IOP/
trunk/core/src/icedtea/org/omg/IOP/CodeSets.java
trunk/core/src/icedtea/org/omg/IOP/Codec.java
trunk/core/src/icedtea/org/omg/IOP/CodecFactory.java
trunk/core/src/icedtea/org/omg/IOP/CodecFactoryHelper.java
trunk/core/src/icedtea/org/omg/IOP/CodecFactoryOperations.java
trunk/core/src/icedtea/org/omg/IOP/CodecFactoryPackage/
trunk/core/src/icedtea/org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java
trunk/core/src/icedtea/org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java
trunk/core/src/icedtea/org/omg/IOP/CodecOperations.java
trunk/core/src/icedtea/org/omg/IOP/CodecPackage/
trunk/core/src/icedtea/org/omg/IOP/CodecPackage/FormatMismatch.java
trunk/core/src/icedtea/org/omg/IOP/CodecPackage/FormatMismatchHelper.java
trunk/core/src/icedtea/org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java
trunk/core/src/icedtea/org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java
trunk/core/src/icedtea/org/omg/IOP/CodecPackage/TypeMismatch.java
trunk/core/src/icedtea/org/omg/IOP/CodecPackage/TypeMismatchHelper.java
trunk/core/src/icedtea/org/omg/IOP/ComponentIdHelper.java
trunk/core/src/icedtea/org/omg/IOP/ENCODING_CDR_ENCAPS.java
trunk/core/src/icedtea/org/omg/IOP/Encoding.java
trunk/core/src/icedtea/org/omg/IOP/ExceptionDetailMessage.java
trunk/core/src/icedtea/org/omg/IOP/IOR.java
trunk/core/src/icedtea/org/omg/IOP/IORHelper.java
trunk/core/src/icedtea/org/omg/IOP/IORHolder.java
trunk/core/src/icedtea/org/omg/IOP/MultipleComponentProfileHelper.java
trunk/core/src/icedtea/org/omg/IOP/MultipleComponentProfileHolder.java
trunk/core/src/icedtea/org/omg/IOP/ProfileIdHelper.java
trunk/core/src/icedtea/org/omg/IOP/RMICustomMaxStreamFormat.java
trunk/core/src/icedtea/org/omg/IOP/ServiceContext.java
trunk/core/src/icedtea/org/omg/IOP/ServiceContextHelper.java
trunk/core/src/icedtea/org/omg/IOP/ServiceContextHolder.java
trunk/core/src/icedtea/org/omg/IOP/ServiceContextListHelper.java
trunk/core/src/icedtea/org/omg/IOP/ServiceContextListHolder.java
trunk/core/src/icedtea/org/omg/IOP/ServiceIdHelper.java
trunk/core/src/icedtea/org/omg/IOP/TAG_ALTERNATE_IIOP_ADDRESS.java
trunk/core/src/icedtea/org/omg/IOP/TAG_CODE_SETS.java
trunk/core/src/icedtea/org/omg/IOP/TAG_INTERNET_IOP.java
trunk/core/src/icedtea/org/omg/IOP/TAG_JAVA_CODEBASE.java
trunk/core/src/icedtea/org/omg/IOP/TAG_MULTIPLE_COMPONENTS.java
trunk/core/src/icedtea/org/omg/IOP/TAG_ORB_TYPE.java
trunk/core/src/icedtea/org/omg/IOP/TAG_POLICIES.java
trunk/core/src/icedtea/org/omg/IOP/TAG_RMI_CUSTOM_MAX_STREAM_FORMAT.java
trunk/core/src/icedtea/org/omg/IOP/TaggedComponent.java
trunk/core/src/icedtea/org/omg/IOP/TaggedComponentHelper.java
trunk/core/src/icedtea/org/omg/IOP/TaggedComponentHolder.java
trunk/core/src/icedtea/org/omg/IOP/TaggedProfile.java
trunk/core/src/icedtea/org/omg/IOP/TaggedProfileHelper.java
trunk/core/src/icedtea/org/omg/IOP/TaggedProfileHolder.java
trunk/core/src/icedtea/org/omg/IOP/TransactionService.java
trunk/core/src/icedtea/org/omg/Messaging/
trunk/core/src/icedtea/org/omg/Messaging/SYNC_WITH_TRANSPORT.java
trunk/core/src/icedtea/org/omg/Messaging/SyncScopeHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/
trunk/core/src/icedtea/org/omg/PortableInterceptor/ACTIVE.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/AdapterManagerIdHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/AdapterNameHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/AdapterStateHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ClientRequestInfo.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ClientRequestInfoOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ClientRequestInterceptor.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/Current.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/CurrentHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/CurrentOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/DISCARDING.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ForwardRequest.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ForwardRequestHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/HOLDING.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/INACTIVE.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/IORInfo.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/IORInfoOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/IORInterceptor.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/IORInterceptorOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/IORInterceptor_3_0.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/IORInterceptor_3_0Operations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/Interceptor.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/InterceptorOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/InvalidSlot.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/InvalidSlotHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/LOCATION_FORWARD.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/NON_EXISTENT.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ORBIdHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ORBInitInfo.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ORBInitInfoOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ORBInitInfoPackage/
trunk/core/src/icedtea/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ORBInitializer.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ORBInitializerOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ObjectIdHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ObjectReferenceFactory.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ObjectReferenceTemplate.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/PolicyFactory.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/PolicyFactoryOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/RequestInfo.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/RequestInfoOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/SUCCESSFUL.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/SYSTEM_EXCEPTION.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ServerIdHelper.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ServerRequestInfo.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ServerRequestInfoOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ServerRequestInterceptor.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/TRANSPORT_RETRY.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/UNKNOWN.java
trunk/core/src/icedtea/org/omg/PortableInterceptor/USER_EXCEPTION.java
trunk/core/src/icedtea/org/omg/PortableServer/
trunk/core/src/icedtea/org/omg/PortableServer/AdapterActivator.java
trunk/core/src/icedtea/org/omg/PortableServer/AdapterActivatorOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/Current.java
trunk/core/src/icedtea/org/omg/PortableServer/CurrentOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/CurrentPackage/
trunk/core/src/icedtea/org/omg/PortableServer/CurrentPackage/NoContext.java
trunk/core/src/icedtea/org/omg/PortableServer/CurrentPackage/NoContextHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/ForwardRequest.java
trunk/core/src/icedtea/org/omg/PortableServer/ForwardRequestHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/ID_ASSIGNMENT_POLICY_ID.java
trunk/core/src/icedtea/org/omg/PortableServer/ID_UNIQUENESS_POLICY_ID.java
trunk/core/src/icedtea/org/omg/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID.java
trunk/core/src/icedtea/org/omg/PortableServer/IdAssignmentPolicy.java
trunk/core/src/icedtea/org/omg/PortableServer/IdAssignmentPolicyOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/IdAssignmentPolicyValue.java
trunk/core/src/icedtea/org/omg/PortableServer/IdUniquenessPolicy.java
trunk/core/src/icedtea/org/omg/PortableServer/IdUniquenessPolicyOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/IdUniquenessPolicyValue.java
trunk/core/src/icedtea/org/omg/PortableServer/ImplicitActivationPolicy.java
trunk/core/src/icedtea/org/omg/PortableServer/ImplicitActivationPolicyOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/ImplicitActivationPolicyValue.java
trunk/core/src/icedtea/org/omg/PortableServer/LIFESPAN_POLICY_ID.java
trunk/core/src/icedtea/org/omg/PortableServer/LifespanPolicy.java
trunk/core/src/icedtea/org/omg/PortableServer/LifespanPolicyOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/LifespanPolicyValue.java
trunk/core/src/icedtea/org/omg/PortableServer/POA.java
trunk/core/src/icedtea/org/omg/PortableServer/POAManager.java
trunk/core/src/icedtea/org/omg/PortableServer/POAManagerOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/POAManagerPackage/
trunk/core/src/icedtea/org/omg/PortableServer/POAManagerPackage/AdapterInactive.java
trunk/core/src/icedtea/org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/POAManagerPackage/State.java
trunk/core/src/icedtea/org/omg/PortableServer/POAOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/AdapterNonExistent.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/InvalidPolicy.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/NoServant.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/NoServantHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/ObjectNotActive.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/ServantAlreadyActive.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/ServantNotActive.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/WrongAdapter.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/WrongAdapterHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/WrongPolicy.java
trunk/core/src/icedtea/org/omg/PortableServer/POAPackage/WrongPolicyHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/REQUEST_PROCESSING_POLICY_ID.java
trunk/core/src/icedtea/org/omg/PortableServer/RequestProcessingPolicy.java
trunk/core/src/icedtea/org/omg/PortableServer/RequestProcessingPolicyOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/RequestProcessingPolicyValue.java
trunk/core/src/icedtea/org/omg/PortableServer/SERVANT_RETENTION_POLICY_ID.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantActivator.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantActivatorHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantActivatorOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantActivatorPOA.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantLocator.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantLocatorHelper.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantLocatorOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantLocatorPOA.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantManager.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantManagerOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantRetentionPolicy.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantRetentionPolicyOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/ServantRetentionPolicyValue.java
trunk/core/src/icedtea/org/omg/PortableServer/THREAD_POLICY_ID.java
trunk/core/src/icedtea/org/omg/PortableServer/ThreadPolicy.java
trunk/core/src/icedtea/org/omg/PortableServer/ThreadPolicyOperations.java
trunk/core/src/icedtea/org/omg/PortableServer/ThreadPolicyValue.java
trunk/core/src/icedtea/org/omg/PortableServer/_ServantActivatorStub.java
trunk/core/src/icedtea/org/omg/PortableServer/_ServantLocatorStub.java
trunk/core/src/icedtea/sun/security/
trunk/core/src/icedtea/sun/security/internal/
trunk/core/src/icedtea/sun/security/internal/interfaces/
trunk/core/src/icedtea/sun/security/internal/interfaces/TlsMasterSecret.java
trunk/core/src/icedtea/sun/security/internal/spec/
trunk/core/src/icedtea/sun/security/internal/spec/TlsKeyMaterialParameterSpec.java
trunk/core/src/icedtea/sun/security/internal/spec/TlsKeyMaterialSpec.java
trunk/core/src/icedtea/sun/security/internal/spec/TlsMasterSecretParameterSpec.java
trunk/core/src/icedtea/sun/security/internal/spec/TlsPrfParameterSpec.java
trunk/core/src/icedtea/sun/security/internal/spec/TlsRsaPremasterSecretParameterSpec.java
trunk/core/src/icedtea/sun/util/
trunk/core/src/icedtea/sun/util/LocaleDataMetaInfo.java
Added: trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/Activator.java
===================================================================
--- trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/Activator.java (rev 0)
+++ trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/Activator.java 2007-06-25 20:38:29 UTC (rev 3331)
@@ -0,0 +1,13 @@
+package com.sun.corba.se.PortableActivationIDL;
+
+
+/**
+* com/sun/corba/se/PortableActivationIDL/Activator.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from ../../../../src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
+* Friday, May 25, 2007 4:50:49 o'clock PM EDT
+*/
+
+public interface Activator extends ActivatorOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
+{
+} // interface Activator
Added: trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorHelper.java
===================================================================
--- trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorHelper.java (rev 0)
+++ trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorHelper.java 2007-06-25 20:38:29 UTC (rev 3331)
@@ -0,0 +1,85 @@
+package com.sun.corba.se.PortableActivationIDL;
+
+
+/**
+* com/sun/corba/se/PortableActivationIDL/ActivatorHelper.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from ../../../../src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
+* Friday, May 25, 2007 4:50:49 o'clock PM EDT
+*/
+
+abstract public class ActivatorHelper
+{
+ private static String _id = "IDL:PortableActivationIDL/Activator:1.0";
+
+ public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.Activator that)
+ {
+ org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
+ a.type (type ());
+ write (out, that);
+ a.read_value (out.create_input_stream (), type ());
+ }
+
+ public static com.sun.corba.se.PortableActivationIDL.Activator extract (org.omg.CORBA.Any a)
+ {
+ return read (a.create_input_stream ());
+ }
+
+ private static org.omg.CORBA.TypeCode __typeCode = null;
+ synchronized public static org.omg.CORBA.TypeCode type ()
+ {
+ if (__typeCode == null)
+ {
+ __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (com.sun.corba.se.PortableActivationIDL.ActivatorHelper.id (), "Activator");
+ }
+ return __typeCode;
+ }
+
+ public static String id ()
+ {
+ return _id;
+ }
+
+ public static com.sun.corba.se.PortableActivationIDL.Activator read (org.omg.CORBA.portable.InputStream istream)
+ {
+ return narrow (istream.read_Object (_ActivatorStub.class));
+ }
+
+ public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.Activator value)
+ {
+ ostream.write_Object ((org.omg.CORBA.Object) value);
+ }
+
+ public static com.sun.corba.se.PortableActivationIDL.Activator narrow (org.omg.CORBA.Object obj)
+ {
+ if (obj == null)
+ return null;
+ else if (obj instanceof com.sun.corba.se.PortableActivationIDL.Activator)
+ return (com.sun.corba.se.PortableActivationIDL.Activator)obj;
+ else if (!obj._is_a (id ()))
+ throw new org.omg.CORBA.BAD_PARAM ();
+ else
+ {
+ org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
+ com.sun.corba.se.PortableActivationIDL._ActivatorStub stub = new com.sun.corba.se.PortableActivationIDL._ActivatorStub ();
+ stub._set_delegate(delegate);
+ return stub;
+ }
+ }
+
+ public static com.sun.corba.se.PortableActivationIDL.Activator unchecked_narrow (org.omg.CORBA.Object obj)
+ {
+ if (obj == null)
+ return null;
+ else if (obj instanceof com.sun.corba.se.PortableActivationIDL.Activator)
+ return (com.sun.corba.se.PortableActivationIDL.Activator)obj;
+ else
+ {
+ org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
+ com.sun.corba.se.PortableActivationIDL._ActivatorStub stub = new com.sun.corba.se.PortableActivationIDL._ActivatorStub ();
+ stub._set_delegate(delegate);
+ return stub;
+ }
+ }
+
+}
Added: trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorHolder.java
===================================================================
--- trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorHolder.java (rev 0)
+++ trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorHolder.java 2007-06-25 20:38:29 UTC (rev 3331)
@@ -0,0 +1,38 @@
+package com.sun.corba.se.PortableActivationIDL;
+
+/**
+* com/sun/corba/se/PortableActivationIDL/ActivatorHolder.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from ../../../../src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
+* Friday, May 25, 2007 4:50:49 o'clock PM EDT
+*/
+
+public final class ActivatorHolder implements org.omg.CORBA.portable.Streamable
+{
+ public com.sun.corba.se.PortableActivationIDL.Activator value = null;
+
+ public ActivatorHolder ()
+ {
+ }
+
+ public ActivatorHolder (com.sun.corba.se.PortableActivationIDL.Activator initialValue)
+ {
+ value = initialValue;
+ }
+
+ public void _read (org.omg.CORBA.portable.InputStream i)
+ {
+ value = com.sun.corba.se.PortableActivationIDL.ActivatorHelper.read (i);
+ }
+
+ public void _write (org.omg.CORBA.portable.OutputStream o)
+ {
+ com.sun.corba.se.PortableActivationIDL.ActivatorHelper.write (o, value);
+ }
+
+ public org.omg.CORBA.TypeCode _type ()
+ {
+ return com.sun.corba.se.PortableActivationIDL.ActivatorHelper.type ();
+ }
+
+}
Added: trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorOperations.java
===================================================================
--- trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorOperations.java (rev 0)
+++ trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/ActivatorOperations.java 2007-06-25 20:38:29 UTC (rev 3331)
@@ -0,0 +1,73 @@
+package com.sun.corba.se.PortableActivationIDL;
+
+
+/**
+* com/sun/corba/se/PortableActivationIDL/ActivatorOperations.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from ../../../../src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
+* Friday, May 25, 2007 4:50:49 o'clock PM EDT
+*/
+
+public interface ActivatorOperations
+{
+
+ /** A new ORB started server registers itself with the Activator
+ */
+ void registerServer (String serverId, com.sun.corba.se.PortableActivationIDL.ServerProxy serverObj) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
+
+ /** A server is shutting down that was started by this activator.
+ * Complete termination of the server is detected by the death of the
+ * process implementing the server.
+ */
+ void serverGoingDown (String serverId);
+
+ /** Called whenever an ORB instance is created. This registers
+ * the transport endpoints and the ORB proxy callback object.
+ * Note that we cannot detect when an ORB shuts down, although
+ * all of the POA shutdowns should still be reported.
+ */
+ void registerORB (String serverId, String orbId, com.sun.corba.se.PortableActivationIDL.ORBProxy orb, com.sun.corba.se.PortableActivationIDL.EndPointInfo[] endPointInfo) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint, com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered;
+
+ /** Construct or find an ORBD object template corresponding to the
+ * server's object template and return it. Called whenever a
+ * persistent POA is created.
+ */
+ org.omg.PortableInterceptor.ObjectReferenceTemplate registerPOA (String serverId, String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate);
+
+ /** Called whenever a POA is destroyed.
+ */
+ void poaDestroyed (String serverId, String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate);
+
+ /** If the server is not running, start it up. This is allowed
+ * whether or not the server has been installed.
+ */
+ void activate (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown;
+
+ /** If the server is running, shut it down
+ */
+ void shutdown (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotActive, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
+
+ /** Invoke the server install hook. If the server is not
+ * currently running, this method will activate it.
+ */
+ void install (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown, com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled;
+
+ /** Invoke the server uninstall hook. If the server is not
+ * currently running, this method will activate it.
+ * After this hook completes, the server may still be running.
+ */
+ void uninstall (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown, com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled;
+
+ /** list active servers
+ */
+ String[] getActiveServers ();
+
+ /** list all registered ORBs for a server
+ */
+ String[] getORBNames (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
+
+ /** Find the server template that corresponds to the ORBD's
+ * adapter id.
+ */
+ org.omg.PortableInterceptor.ObjectReferenceTemplate lookupPOATemplate (String serverId, String orbId, String[] orbAdapterName);
+} // interface ActivatorOperations
Added: trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/BadServerDefinition.java
===================================================================
--- trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/BadServerDefinition.java (rev 0)
+++ trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/BadServerDefinition.java 2007-06-25 20:38:29 UTC (rev 3331)
@@ -0,0 +1,33 @@
+package com.sun.corba.se.PortableActivationIDL;
+
+
+/**
+* com/sun/corba/se/PortableActivationIDL/BadServerDefinition.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from ../../../../src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
+* Friday, May 25, 2007 4:50:49 o'clock PM EDT
+*/
+
+public final class BadServerDefinition extends org.omg.CORBA.UserException
+{
+ public String reason = null;
+
+ public BadServerDefinition ()
+ {
+ super(BadServerDefinitionHelper.id());
+ } // ctor
+
+ public BadServerDefinition (String _reason)
+ {
+ super(BadServerDefinitionHelper.id());
+ reason = _reason;
+ } // ctor
+
+
+ public BadServerDefinition (String $reason, String _reason)
+ {
+ super(BadServerDefinitionHelper.id() + " " + $reason);
+ reason = _reason;
+ } // ctor
+
+} // class BadServerDefinition
Added: trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/BadServerDefinitionHelper.java
===================================================================
--- trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/BadServerDefinitionHelper.java (rev 0)
+++ trunk/core/src/icedtea/com/sun/corba/se/PortableActivationIDL/BadServerDefinitionHelper.java 2007-06-25 20:38:29 UTC (rev 3331)
@@ -0,0 +1,79 @@
+package com.sun.corba.se.PortableActivationIDL;
+
+
+/**
+* com/sun/corba/se/PortableActivationIDL/BadServerDefinitionHelper.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from ../../../../src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
+* Friday, May 25, 2007 4:50:49 o'clock PM EDT
+*/
+
+abstract public class BadServerDefinitionHelper
+{
+ private static String _id = "IDL:PortableActivationIDL/BadServerDefinition:1.0";
+
+ public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.BadServerDefinition that)
+ {
+ org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
+ a.type (type ());
+ write (out, that);
+ a.read_value (out.create_input_stream (), type ());
+ }
+
+ public static com.sun.corba.se.PortableActivationIDL.BadServerDefinition extract (org.omg.CORBA.Any a)
+ {
+ return read (a.create_input_stream ());
+ }
+
+ private static org.omg.CORBA.TypeCode __typeCode = null;
+ private static boolean __active = false;
+ synchronized public static org.omg.CORBA.TypeCode type ()
+ {
+ if (__typeCode == null)
+ {
+ synchronized (org.omg.CORBA.TypeCode.class)
+ {
+ if (__typeCode == null)
+ {
+ if (__active)
+ {
+ return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
+ }
+ __active = true;
+ org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
+ org.omg.CORBA.TypeCode _tcOf_members0 = null;
+ _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
+ _members0[0] = new org.omg.CORBA.StructMember (
+ "reason",
+ _tcOf_members0,
+ null);
+ __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.BadServerDefinitionHelper.id (), "BadServerDefinition", _members0);
+ __active = false;
+ }
+ }
+ }
+ return __typeCode;
+ }
+
+ public static String id ()
+ {
+ return _id;
+ }
+
+ public static com.sun.corba.se.PortableActivationIDL.BadServerDefinition read (org.omg.CORBA.portable.InputStream istream)
+ {
+ com.sun.corba.se.PortableActivationIDL.BadServerDefinition value = new com.sun.corba.se.PortableActivationIDL.BadServerDefinition ();
+ // read and discard the repository ID
+ istream.read_string ();
+ value.reason = istream.read_string ();
+ return value;
+ }
+
+ public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.BadServerDefinition value)
+ {
+ // write the repository ID
+ ostream.write_string (id ());
+ ostream.write_st...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 20:14:19
|
Revision: 3330
http://jnode.svn.sourceforge.net/jnode/?rev=3330&view=rev
Author: lsantha
Date: 2007-06-25 13:14:18 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/all/build.xml
Modified: trunk/all/build.xml
===================================================================
--- trunk/all/build.xml 2007-06-25 20:10:58 UTC (rev 3329)
+++ trunk/all/build.xml 2007-06-25 20:14:18 UTC (rev 3330)
@@ -471,7 +471,7 @@
</patternset>
<delete dir="${build.dir}/classpath-compare"/>
- <cp-compare destdir="${build.dir}/classpath-compare">
+ <cp-compare destdir="${build.dir}/classpath-compare" type="classpath">
<vmsources>
<fileset dir="${root.dir}/core/src/classpath/gnu">
<patternset refid="cp-includes-pattern"/>
@@ -559,6 +559,68 @@
</header>
</target>
+ <target name="oj-compare" depends="assemble">
+ <taskdef name="cp-compare" classname="org.jnode.ant.taskdefs.classpath.CompareTask" classpathref="cp-jnode"/>
+
+ <patternset id="cp-includes-pattern">
+ <include name="**/*.java"/>
+ <include name="**/*.properties"/>
+ <include name="**/package.html"/>
+ </patternset>
+
+ <patternset id="cp-sources-pattern">
+ <exclude name="com/sun/demo/**/*"/>
+ <exclude name="com/sun/tools/hat/**/*"/>
+ <exclude name="com/sun/tools/hat/**/*"/>
+ <exclude name="com/sun/tools/example/**/*"/>
+ <exclude name="com/sun/tools/javah/**/*"/>
+ <exclude name="com/sun/tools/internal/txw2/**/*"/>
+ <exclude name="sun/jvmstat/**/*"/>
+ <exclude name="sun/tools/attach/**/*"/>
+ <exclude name="sun/tools/jinfo/**/*"/>
+ <exclude name="sun/tools/jps/**/*"/>
+ <exclude name="sun/tools/jmap/**/*"/>
+ <exclude name="sun/tools/jstack/**/*"/>
+ <exclude name="sun/tools/jstat/**/*"/>
+ <exclude name="sun/tools/jstatd/**/*"/>
+ <exclude name="sun/tools/jconsole/**/*"/>
+ </patternset>
+
+ <delete dir="${build.dir}/openjdk-compare"/>
+ <cp-compare destdir="${build.dir}/openjdk-compare" type="openjdk">
+ <vmsources>
+ <fileset dir="${root.dir}/core/src/openjdk/com">
+ <patternset refid="cp-includes-pattern"/>
+ </fileset>
+ <fileset dir="${root.dir}/core/src/openjdk/java">
+ <patternset refid="cp-includes-pattern"/>
+ </fileset>
+ <fileset dir="${root.dir}/core/src/openjdk/javax">
+ <patternset refid="cp-includes-pattern"/>
+ </fileset>
+
+ <fileset dir="${root.dir}/core/src/openjdk/org">
+ <patternset refid="cp-includes-pattern"/>
+ </fileset>
+
+ <fileset dir="${root.dir}/core/src/openjdk/sun">
+ <patternset refid="cp-includes-pattern"/>
+ </fileset>
+ </vmsources>
+ <vmspecificsources>
+ <fileset dir="${root.dir}/core/src/openjdk/vm">
+ <patternset refid="cp-includes-pattern"/>
+ </fileset>
+ </vmspecificsources>
+ <classpathsources>
+ <fileset dir="${root.dir}/../openjdk/j2se/src/share/classes/">
+ <patternset refid="cp-includes-pattern"/>
+ <patternset refid="cp-sources-pattern"/>
+ </fileset>
+ </classpathsources>
+ </cp-compare>
+ </target>
+
<!-- Run all tests -->
<target name="tests" depends="assemble">
<ant target="tests" dir="${root.dir}/fs" inheritall="on" inheritrefs="on"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 20:10:59
|
Revision: 3329
http://jnode.svn.sourceforge.net/jnode/?rev=3329&view=rev
Author: lsantha
Date: 2007-06-25 13:10:58 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/builder/src/builder/org/jnode/ant/taskdefs/classpath/CompareTask.java
Modified: trunk/builder/src/builder/org/jnode/ant/taskdefs/classpath/CompareTask.java
===================================================================
--- trunk/builder/src/builder/org/jnode/ant/taskdefs/classpath/CompareTask.java 2007-06-25 20:07:09 UTC (rev 3328)
+++ trunk/builder/src/builder/org/jnode/ant/taskdefs/classpath/CompareTask.java 2007-06-25 20:10:58 UTC (rev 3329)
@@ -55,6 +55,8 @@
private File destDir;
+ private String type;
+
private String vmSpecificTag = "@vm-specific";
// represent an unsubmitted classpath bugfix
@@ -91,9 +93,13 @@
private static final int FLAG_UNSUBMITTED_CLASSPATH_BUGFIX = 0x2000;
public void execute() {
- if (destDir == null) {
+ if (destDir == null)
throw new BuildException("The destdir attribute must be set");
- }
+
+ if (type == null)
+ throw new BuildException("The type attribute must be set");
+
+
final Map<String, SourceFile> vmFiles = vmDirs
.scanJavaFiles(getProject());
final Map<String, SourceFile> classpathFiles = classpathDirs
@@ -107,11 +113,11 @@
try {
destDir.mkdirs();
- final File outBugsFile = new File(destDir, "classpath-bugfix.html");
+ final File outBugsFile = new File(destDir, "bugfix.html");
final PrintWriter outBugs = new PrintWriter(new FileWriter(outBugsFile));
reportHeader(outBugs, "Class", "Target", "Classpath bugs");
- final File outFile = new File(destDir, "classpath-compare.html");
+ final File outFile = new File(destDir, "index.html");
final PrintWriter out = new PrintWriter(new FileWriter(outFile));
reportHeader(out, "Class", "Target", "Merge status");
@@ -138,14 +144,14 @@
} else if (vmFile == null) {
// file is not found as vmspecific source, nor as vm source
if (!cpFile.isIgnoreMissing()) {
- reportMissing(out, cpFile.getReportName(), "classpath",
+ reportMissing(out, cpFile.getReportName(), type,
getFlags(cpFile));
- missingInCp++;
+ missingInVm++;
}
} else if (cpFile == null) {
// File is not found in classpath sources
reportMissing(out, vmFile.getReportName(), "vm", new Flags());
- missingInVm++;
+ missingInCp++;
} else {
// We have both the classpath version and the vm version.
cpFile = cpFile.getBestFileForTarget(vmFile.getTarget());
@@ -197,8 +203,8 @@
out.println("<a name='summary'/><h2>Summary</h2>");
if (missingInCp > 0) {
out.println("Found " + missingInCp
- + " files missing in classpath</br>");
- log("Found " + missingInCp + " files missing in classpath");
+ + " files missing in " + type + "</br>");
+ log("Found " + missingInCp + " files missing in " + type);
}
if (missingInVm > 0) {
out.println("Found " + missingInVm
@@ -221,7 +227,7 @@
}
if (diffClasspathBugfix > 0) {
out.println("Found " + diffClasspathBugfix
- + " local <a href=\"classpath-bugfix.html\">classpath bugfixes</a><br/>");
+ + " local <a href=\"bugfix.html\">classpath bugfixes</a><br/>");
log("Found " + diffClasspathBugfix
+ " local classpath bugfixes");
}
@@ -315,10 +321,11 @@
}
protected void reportHeader(PrintWriter out, String... headers) {
+ String capital_type = type.substring(0,1).toUpperCase() + type.substring(1);
out.println("<html>");
- out.println("<title>Classpath compare</title>");
+ out.println("<title>" + capital_type + " compare</title>");
out.println("<style type='text/css'>");
- out.println(".classpath-only { background-color: #FFFFAA; }");
+ out.println("." + type + "-only { background-color: #FFFFAA; }");
out.println(".vm-only { background-color: #CCCCFF; }");
out.println(".needsmerge { background-color: #FF9090; }");
out.println(".vm-specific { background-color: #119911; }");
@@ -326,7 +333,7 @@
out.println(".classpath-bugfix { background-color: #CCFFCC; }");
out.println("</style>");
out.println("<body>");
- out.println("<h1>Classpath compare results</h1>");
+ out.println("<h1>" + capital_type + " compare results</h1>");
out.println("Created at " + new Date());
out.println("<table border='1' width='100%' style='border: solid 1'>");
out.println("<tr>");
@@ -593,4 +600,21 @@
public final void setDestDir(File destDir) {
this.destDir = destDir;
}
+
+
+ /**
+ * Returns the type.
+ * @return
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * The type of the comparesion.
+ * @param type of the comparesion
+ */
+ public void setType(String type) {
+ this.type = type;
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 20:07:11
|
Revision: 3328
http://jnode.svn.sourceforge.net/jnode/?rev=3328&view=rev
Author: lsantha
Date: 2007-06-25 13:07:09 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/core/descriptors/org.classpath.core.xml
Modified: trunk/core/descriptors/org.classpath.core.xml
===================================================================
--- trunk/core/descriptors/org.classpath.core.xml 2007-06-25 20:05:08 UTC (rev 3327)
+++ trunk/core/descriptors/org.classpath.core.xml 2007-06-25 20:07:09 UTC (rev 3328)
@@ -13,7 +13,9 @@
<library name="jnode-core.jar">
<export name="sun.misc.*"/>
+ <export name="sun.net.www.protocol.http.InMemoryCookieStore"/>
<export name="sun.security.util.Debug"/>
+ <export name="sun.security.util.SecurityConstants"/>
<export name="sun.security.action.GetPropertyAction"/>
<export name="sun.security.jca.*"/>
<export name="sun.nio.cs.StreamEncoder"/>
@@ -117,6 +119,9 @@
<export name="javax.naming.NameImpl"/>
<export name="javax.naming.NameImplEnumerator"/>
+ <export name="javax.net.ssl.SSLException"/>
+ <export name="javax.net.ssl.SSLPeerUnverifiedException"/>
+
<export name="javax.xml.parsers.*"/>
<export name="javax.xml.transform.*"/>
<export name="javax.xml.transform.dom.*"/>
@@ -125,6 +130,15 @@
<export name="javax.xml.stream.events.*"/>
<export name="javax.xml.stream.util.*"/>
+ <export name="javax.security.auth.AuthPermission"/>
+ <export name="javax.security.auth.Destroyable"/>
+ <export name="javax.security.auth.DestroyFailedException"/>
+ <export name="javax.security.auth.Subject"/>
+ <export name="javax.security.auth.callback.Callback"/>
+ <export name="javax.security.auth.callback.CallbackHandler"/>
+ <export name="javax.security.auth.callback.PasswordCallback"/>
+ <export name="javax.security.auth.callback.UnsupportedCallbackException"/>
+ <export name="javax.security.auth.login.LoginException"/>
<export name="javax.security.auth.x500.*"/>
<export name="javax.crypto.spec.SecretKeySpec"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 20:05:11
|
Revision: 3327
http://jnode.svn.sourceforge.net/jnode/?rev=3327&view=rev
Author: lsantha
Date: 2007-06-25 13:05:08 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/core/build.xml
Modified: trunk/core/build.xml
===================================================================
--- trunk/core/build.xml 2007-06-25 20:03:36 UTC (rev 3326)
+++ trunk/core/build.xml 2007-06-25 20:05:08 UTC (rev 3327)
@@ -26,9 +26,9 @@
<pathelement location="${my-src.dir}/classpath/ext"/>
<pathelement location="${my-src.dir}/classpath/vm"/>
<pathelement location="${my-src.dir}/classpath/tools"/>
- <pathelement location="${my-src.dir}/classpath/sun"/>
<pathelement location="${my-src.dir}/openjdk/java"/>
<pathelement location="${my-src.dir}/openjdk/javax"/>
+ <pathelement location="${my-src.dir}/openjdk/org"/>
<pathelement location="${my-src.dir}/openjdk/com"/>
<pathelement location="${my-src.dir}/openjdk/sun"/>
<pathelement location="${my-src.dir}/openjdk/vm"/>
@@ -99,9 +99,9 @@
<fileset dir="${my-src.dir}/classpath/java" includes="**/*.properties"/>
<fileset dir="${my-src.dir}/classpath/vm" includes="**/*.security"/>
<fileset dir="${my-src.dir}/classpath/tools" includes="**/*.jav"/>
- <fileset dir="${my-src.dir}/classpath/sun" includes="**/*.jav"/>
<fileset dir="${my-src.dir}/openjdk/java" includes="**/*.jav"/>
<fileset dir="${my-src.dir}/openjdk/javax" includes="**/*.jav"/>
+ <fileset dir="${my-src.dir}/openjdk/org" includes="**/*.jav"/>
<fileset dir="${my-src.dir}/openjdk/com" includes="**/*.jav"/>
<fileset dir="${my-src.dir}/openjdk/sun" includes="**/*.jav"/>
<fileset dir="${my-src.dir}/openjdk/vm" includes="**/*.jav"/>
@@ -131,9 +131,9 @@
<fileset dir="${my-src.dir}/classpath/ext" excludes="${my-non-resources}"/>
<fileset dir="${my-src.dir}/classpath/vm" excludes="${my-non-resources}"/>
<fileset dir="${my-src.dir}/classpath/tools" excludes="${my-non-resources}"/>
- <fileset dir="${my-src.dir}/classpath/sun" excludes="${my-non-resources}"/>
<fileset dir="${my-src.dir}/openjdk/java" excludes="${my-non-resources}"/>
<fileset dir="${my-src.dir}/openjdk/javax" excludes="${my-non-resources}"/>
+ <fileset dir="${my-src.dir}/openjdk/org" excludes="${my-non-resources}"/>
<fileset dir="${my-src.dir}/openjdk/com" excludes="${my-non-resources}"/>
<fileset dir="${my-src.dir}/openjdk/sun" excludes="${my-non-resources}"/>
<fileset dir="${my-src.dir}/openjdk/vm" excludes="${my-non-resources}"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 20:03:40
|
Revision: 3326
http://jnode.svn.sourceforge.net/jnode/?rev=3326&view=rev
Author: lsantha
Date: 2007-06-25 13:03:36 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Removed Paths:
-------------
trunk/core/src/classpath/sun/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 19:57:13
|
Revision: 3325
http://jnode.svn.sourceforge.net/jnode/?rev=3325&view=rev
Author: lsantha
Date: 2007-06-25 12:57:05 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Removed Paths:
-------------
trunk/core/src/classpath/vm/sun/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 19:51:14
|
Revision: 3324
http://jnode.svn.sourceforge.net/jnode/?rev=3324&view=rev
Author: lsantha
Date: 2007-06-25 12:51:13 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/core/src/classpath/vm/java/lang/reflect/Method.java
Modified: trunk/core/src/classpath/vm/java/lang/reflect/Method.java
===================================================================
--- trunk/core/src/classpath/vm/java/lang/reflect/Method.java 2007-06-25 19:50:11 UTC (rev 3323)
+++ trunk/core/src/classpath/vm/java/lang/reflect/Method.java 2007-06-25 19:51:13 UTC (rev 3324)
@@ -489,4 +489,42 @@
public boolean isAnnotationPresent(Class< ? extends Annotation> annotationClass) {
return vmMethod.isAnnotationPresent(annotationClass);
}
+
+ //jnode openjdk
+ /**
+ * Returns an array of arrays that represent the annotations on the formal
+ * parameters, in declaration order, of the method represented by
+ * this <tt>Method</tt> object. (Returns an array of length zero if the
+ * underlying method is parameterless. If the method has one or more
+ * parameters, a nested array of length zero is returned for each parameter
+ * with no annotations.) The annotation objects contained in the returned
+ * arrays are serializable. The caller of this method is free to modify
+ * the returned arrays; it will have no effect on the arrays returned to
+ * other callers.
+ *
+ * @return an array of arrays that represent the annotations on the formal
+ * parameters, in declaration order, of the method represented by this
+ * Method object
+ * @since 1.5
+ */
+ public Annotation[][] getParameterAnnotations() {
+ return new Annotation[vmMethod.getNoArguments()][];
+ }
+
+ /**
+ * If this method is an annotation method, returns the default
+ * value for the method. If there is no default value, or if the
+ * method is not a member of an annotation type, returns null.
+ * Primitive types are wrapped.
+ *
+ * @throws TypeNotPresentException if the method returns a Class,
+ * and the class cannot be found
+ *
+ * @since 1.5
+ */
+ public Object getDefaultValue(){
+ //todo implement it
+ return null;
+ }
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 19:50:28
|
Revision: 3323
http://jnode.svn.sourceforge.net/jnode/?rev=3323&view=rev
Author: lsantha
Date: 2007-06-25 12:50:11 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/core/src/classpath/vm/java/lang/Class.java
Modified: trunk/core/src/classpath/vm/java/lang/Class.java
===================================================================
--- trunk/core/src/classpath/vm/java/lang/Class.java 2007-06-25 19:47:44 UTC (rev 3322)
+++ trunk/core/src/classpath/vm/java/lang/Class.java 2007-06-25 19:50:11 UTC (rev 3323)
@@ -717,7 +717,7 @@
* @throws NoSuchMethodException
* @throws SecurityException
*/
- public Method getDeclaredMethod(String name, Class< ? >[] argTypes)
+ public Method getDeclaredMethod(String name, Class< ? >... argTypes)
throws NoSuchMethodException, SecurityException {
VmType< ? >[] vmArgTypes;
if (argTypes == null) {
@@ -1319,5 +1319,97 @@
*/
}
+ /**
+ * <p>
+ * Returns a <code>Type</code> object representing the direct superclass,
+ * whether class, interface, primitive type or void, of this class.
+ * If this class is an array class, then a class instance representing
+ * the <code>Object</code> class is returned. If this class is primitive,
+ * an interface, or a representation of either the <code>Object</code>
+ * class or void, then <code>null</code> is returned.
+ * </p>
+ * <p>
+ * If the superclass is a parameterized type, then the
+ * object returned for this interface reflects the actual type
+ * parameters used in the source code. Type parameters are created
+ * using the semantics specified by the <code>ParameterizedType</code>
+ * interface, and only if an instance has not already been created.
+ * </p>
+ *
+ * @return the superclass of this class.
+ * @throws GenericSignatureFormatError if the generic signature of the
+ * class does not comply with that specified by the Java
+ * Virtual Machine specification, 3rd edition.
+ * @throws TypeNotPresentException if the superclass refers
+ * to a non-existant type.
+ * @throws MalformedParameterizedTypeException if the superclass
+ * refers to a parameterized type that can not be instantiated for
+ * some reason.
+ * @since 1.5
+ * @see java.lang.reflect.ParameterizedType
+ */
+ public Type getGenericSuperclass()
+ {
+ if (isArray())
+ return Object.class;
+ if (isPrimitive() || isInterface() || this == Object.class)
+ return null;
+
+ String sig = vmClass.getSignature();
+ if (sig == null)
+ return getSuperclass();
+
+ ClassSignatureParser p = new ClassSignatureParser(this, sig);
+ return p.getSuperclassType();
+ }
+
+ /**
+ * <p>
+ * Returns an array of <code>Type</code> objects which represent the
+ * interfaces directly implemented by this class or extended by this
+ * interface.
+ * </p>
+ * <p>
+ * If one of the superinterfaces is a parameterized type, then the
+ * object returned for this interface reflects the actual type
+ * parameters used in the source code. Type parameters are created
+ * using the semantics specified by the <code>ParameterizedType</code>
+ * interface, and only if an instance has not already been created.
+ * </p>
+ * <p>
+ * The order of the interfaces in the array matches the order in which
+ * the interfaces are declared. For classes which represent an array,
+ * an array of two interfaces, <code>Cloneable</code> and
+ * <code>Serializable</code>, is always returned, with the objects in
+ * that order. A class representing a primitive type or void always
+ * returns an array of zero size.
+ * </p>
+ *
+ * @return an array of interfaces implemented or extended by this class.
+ * @throws GenericSignatureFormatError if the generic signature of one
+ * of the interfaces does not comply with that specified by the Java
+ * Virtual Machine specification, 3rd edition.
+ * @throws TypeNotPresentException if any of the superinterfaces refers
+ * to a non-existant type.
+ * @throws MalformedParameterizedTypeException if any of the interfaces
+ * refer to a parameterized type that can not be instantiated for
+ * some reason.
+ * @since 1.5
+ * @see java.lang.reflect.ParameterizedType
+ */
+ public Type[] getGenericInterfaces()
+ {
+ if (isPrimitive())
+ return new Type[0];
+
+ String sig = vmClass.getSignature();
+ if (sig == null)
+ return getInterfaces();
+
+ ClassSignatureParser p = new ClassSignatureParser(this, sig);
+ return p.getInterfaceTypes();
+ }
+
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 19:47:45
|
Revision: 3322
http://jnode.svn.sourceforge.net/jnode/?rev=3322&view=rev
Author: lsantha
Date: 2007-06-25 12:47:44 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/core/src/classpath/java/java/net/URLConnection.java
Modified: trunk/core/src/classpath/java/java/net/URLConnection.java
===================================================================
--- trunk/core/src/classpath/java/java/net/URLConnection.java 2007-06-25 19:45:25 UTC (rev 3321)
+++ trunk/core/src/classpath/java/java/net/URLConnection.java 2007-06-25 19:47:44 UTC (rev 3322)
@@ -177,6 +177,12 @@
* The timeout period.
*/
private int timeout;
+
+ //jnode openjdk
+ /**
+ * The read timeout period.
+ */
+ private int readTimeout;
/* Cached ParsePosition, used when parsing dates. */
private ParsePosition position;
@@ -1103,4 +1109,43 @@
dateFormats[2] = new SimpleDateFormat("EEE MMM d hh:mm:ss yyyy", locale);
dateformats_initialized = true;
}
+
+ //jnode openjdk
+ /**
+ * Returns the read timeout, in milliseconds, or zero if the timeout
+ * is infinite or not set.
+ *
+ * @return The timeout.
+ *
+ * @see #setReadTimeout
+ *
+ * @since 1.5
+ */
+ public int getReadTimeout()
+ {
+ return readTimeout;
+ }
+
+ /**
+ * Set the read timeout, in milliseconds, or zero if the timeout
+ * is to be considered infinite. Note that in certain socket
+ * implementations/platforms this method may not have any effect.
+ *
+ * Throws an <code>IllegalArgumentException</code> if timeout < 0.
+ *
+ * @param timeout - The timeout, in milliseconds.
+ *
+ * @throws IllegalArgumentException if timeout is negative.
+ *
+ * @see #getReadTimeout
+ *
+ * @since 1.5
+ */
+ public void setReadTimeout(int timeout)
+ throws IllegalArgumentException
+ {
+ if( timeout < 0 )
+ throw new IllegalArgumentException("Timeout must be 0 or positive.");
+ readTimeout = timeout;
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 19:45:27
|
Revision: 3321
http://jnode.svn.sourceforge.net/jnode/?rev=3321&view=rev
Author: lsantha
Date: 2007-06-25 12:45:25 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/core/src/classpath/java/java/security/AccessController.java
Modified: trunk/core/src/classpath/java/java/security/AccessController.java
===================================================================
--- trunk/core/src/classpath/java/java/security/AccessController.java 2007-06-25 19:44:25 UTC (rev 3320)
+++ trunk/core/src/classpath/java/java/security/AccessController.java 2007-06-25 19:45:25 UTC (rev 3321)
@@ -159,11 +159,11 @@
* @exception PrivilegedActionException wrapped around any exception that
* is thrown in the <code>run()</code> method.
*/
- public static Object doPrivileged(PrivilegedExceptionAction action,
+ public static <T> T doPrivileged(PrivilegedExceptionAction<T> action,
AccessControlContext context)
throws PrivilegedActionException
{
- return VmAccessController.doPrivileged(action, context.getVmContext());
+ return (T)VmAccessController.doPrivileged(action, context.getVmContext());
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 19:44:27
|
Revision: 3320
http://jnode.svn.sourceforge.net/jnode/?rev=3320&view=rev
Author: lsantha
Date: 2007-06-25 12:44:25 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Removed Paths:
-------------
trunk/core/src/classpath/java/java/util/MissingResourceException.java
Deleted: trunk/core/src/classpath/java/java/util/MissingResourceException.java
===================================================================
--- trunk/core/src/classpath/java/java/util/MissingResourceException.java 2007-06-25 19:32:06 UTC (rev 3319)
+++ trunk/core/src/classpath/java/java/util/MissingResourceException.java 2007-06-25 19:44:25 UTC (rev 3320)
@@ -1,105 +0,0 @@
-/* MissingResourceException.java -- thrown for a missing resource
- Copyright (C) 1998, 1999, 2001, 2002, 2005 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package java.util;
-
-/**
- * This exception is thrown when a resource is missing.
- *
- * @author Jochen Hoenicke
- * @author Warren Levy (wa...@cy...)
- * @see ResourceBundle
- * @since 1.1
- * @status updated to 1.4
- */
-public class MissingResourceException extends RuntimeException
-{
- /**
- * Compatible with JDK 1.1+.
- */
- private static final long serialVersionUID = -4876345176062000401L;
-
- /**
- * The name of the resource bundle requested by user.
- *
- * @serial the class name of the resource bundle
- */
- private final String className;
-
- /**
- * The key of the resource in the bundle requested by user.
- *
- * @serial the name of the resouce
- */
- private final String key;
-
- /**
- * Creates a new exception, with the specified parameters.
- *
- * @param s the detail message
- * @param className the name of the resource bundle
- * @param key the key of the missing resource
- */
- public MissingResourceException(String s, String className, String key)
- {
- super(s);
- this.className = className;
- this.key = key;
- }
-
- /**
- * Gets the name of the resource bundle, for which a resource is missing.
- *
- * @return the name of the resource bundle
- */
- public String getClassName()
- {
- return className;
- }
-
- /**
- * Gets the key of the resource that is missing bundle, this is an empty
- * string if the whole resource bundle is missing.
- *
- * @return the name of the resource bundle
- */
- public String getKey()
- {
- return key;
- }
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|