From b6b178cfc095dd52edd3892d038b7e25b55e45ea Mon Sep 17 00:00:00 2001 From: bdemsky Date: Mon, 23 Oct 2006 19:51:51 +0000 Subject: [PATCH] Extra string class functionality & bug fix --- Robust/src/ClassLibrary/String.java | 21 +++++++++++++++++++++ Robust/src/IR/TypeDescriptor.java | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/Robust/src/ClassLibrary/String.java b/Robust/src/ClassLibrary/String.java index af399d99..5b2075b8 100644 --- a/Robust/src/ClassLibrary/String.java +++ b/Robust/src/ClassLibrary/String.java @@ -5,6 +5,27 @@ public class String { this.string=string; } + public String(byte str[]) { + char charstr[]=new char[str.length]; + for(int i=0;i